0x1949 Team - FAZEMRX - MANAGER
Edit File: _json.cpython-310.pyc
o �b� � @ s� d Z ddlmZmZ ddlmZmZmZmZm Z m Z mZmZ ddl mZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZ ddlmZ ddlmZ e� Zeeef Zd edefdd�Z dedefdd�Z!dd� ed�dd� dd� fdd� ed�e e!fgZ"dd� e"D �Z#dede$fdd�Z%d e$defd!d"�Z&d#edefd$d%�Z'd&edefd'd(�Z( )d4d*ee d+edefd,d-�Z) . /d5d0ee d+e e d1e*de e fd2d3�Z+d.S )6zA Tools for saving and loading log events in a structured format. � )�dumps�loads)�IO�Any�AnyStr�Dict�Iterable�Optional�Union�cast)�UUID)� NamedConstant)�Failure� ��FileLogObserver)�flattenEvent)�LogEvent)�LogLevel)�Logger�failure�returnc C s t | �� t | jj| jjd�d�S )z� Convert a failure to a JSON-serializable data structure. @param failure: A failure to serialize. @return: a mapping of strings to ... stuff, mostly reminiscent of L{Failure.__getstate__} )� __module__�__name__)�type)�dict�__getstate__r r r )r � r �6/usr/lib/python3/dist-packages/twisted/logger/_json.py� failureAsJSON s ��r �failureDictc C s0 t �t �}| d }t|d d|�| d<