Exposed functions and symbols

yggdrasil_rapidjson.__author__

The authors of the module.

yggdrasil_rapidjson.__version__

The version of the module.

yggdrasil_rapidjson.__rapidjson_version__

The version of the YggdrasilRapidJSON library this module is built with.

yggdrasil_rapidjson.__rapidjson_exact_version__

The exact version of the YggdrasilRapidJSON library, as determined by git describe.

yggdrasil_mode related constants

yggdrasil_rapidjson.YM_BASE64

This is the default yggdrasil_mode: dumps() and loads() handle YggdrasilRapidJSON extension types as strings with a schema header using base64 encoding.

yggdrasil_rapidjson.YM_READABLE

In this yggdrasil_mode mode dumps() and loads() handle YggdrasilRapidJSON extension types as human readable JSON documents.

yggdrasil_rapidjson.YM_PICKLE

In this yggdrasil_mode mode dumps() and loads() will pickle/unpickle unsupported Python objects.

Exceptions

exception yggdrasil_rapidjson.NormalizationError

Exception raised by Normalizer objects, a subclass of ValueError.

Its args attribute is a tuple with three string values, respectively the schema keyword that generated the failure, its JSON pointer and a JSON pointer to the error location in the (invalid) document.

exception yggdrasil_rapidjson.ComparisonError
exception yggdrasil_rapidjson.GenerateError

Warnings

exception yggdrasil_rapidjson.ValidationWarning
exception yggdrasil_rapidjson.NormalizationWarning