mss_dataserver.core.json_util

Utilities for handling JSON import and export.

Functions

object_to_dict(obj, attr)

Copy selected attributes of object to a dictionary.

Classes

FileContainer(data[, agency_uri, author_uri])

A container json data.

GeneralFileDecoder(**kwarg)

A JSON decoder for the deserialization of general data.

GeneralFileEncoder(**kwarg)

A JSON encoder for the serialization of general data.

SupplementDetectionDataDecoder(**kwarg)

A JSON decoder for the deserialization of detection supplement data.

SupplementDetectionDataEncoder(**kwarg)

A JSON encoder for the event supplement detection data.