SupplementDetectionDataDecoder

class mss_dataserver.core.json_util.SupplementDetectionDataDecoder(**kwarg)[source]

Bases: json.decoder.JSONDecoder

A JSON decoder for the deserialization of detection supplement data.

Parameters

**kwargs (keyword argument) – Keyword arguments passed to json.encoder.JSONDecoder.

Variables

version (mss_dataserver.core.util) – The version of the file decoder.

Properties

version

Methods

__init__(**kwarg)

Initialize the instance.

convert_dict(d)

Convert a dictionary to objects.

convert_np_array(d)

Convert a numpy ndarray dictionary.

convert_station(d)

Convert a Station dictionary.

convert_utcdatetime(d)

Convert a UTCDateTime dictionary.

convert_version(d)

Convert a Version dictionary.

decode(s[, _w])

Return the Python representation of s (a str instance containing a JSON document).

decode_hinted_tuple(item)

Decode a tuple.

raw_decode(s[, idx])

Decode a JSON document from s (a str beginning with a JSON document) and return a 2-tuple of the Python representation and the index in s where the document ended.

Inheritence diagram

Inheritance diagram of mss_dataserver.core.json_util.SupplementDetectionDataDecoder