agent0.hyperlogs.json_encoder ============================= .. py:module:: agent0.hyperlogs.json_encoder .. autoapi-nested-parse:: Extend the default JSON encoder to include additional types. .. !! processed by numpydoc !! Classes ------- .. autoapisummary:: agent0.hyperlogs.json_encoder.ExtendedJSONEncoder Module Contents --------------- .. py:class:: ExtendedJSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None) Bases: :py:obj:`json.JSONEncoder` Custom encoder for JSON string dumps. .. !! processed by numpydoc !! .. py:method:: default(o: Any) -> Any Override default behavior. :param o: The object to be converted to JSON. :type o: Any :returns: The corresponding object ready to be serialized to JSON. :rtype: Any .. !! processed by numpydoc !!