MJSON Python Module¶
Encode and decode objects into json.
This module exports generators for encoding and decoding instances of the collections.namedtuple class using the JSON data format.
-
pacifica.uploader.metadata.mjson.
generate_namedtuple_decoder
(cls)[source]¶ Return a namedtuple decoder for the class cls.
Generate a sub-class of
json.JSONDecoder
, which decodes a JSON object into an instance ofcls
.