adafruit_json_stream

Minimal version of json_stream for CircuitPython use.

  • Author(s): Scott Shawcroft

class adafruit_json_stream.Transient

Transient object representing a JSON object.

class adafruit_json_stream.TransientList(stream)

Transient object that acts like a list through the stream.

finish()

Consume all of the characters for this list from the stream.

class adafruit_json_stream.TransientObject(stream)

Transient object that acts like a dictionary through the stream.

finish()

Consume all of the characters for this object from the stream.

adafruit_json_stream.load(data_iter)

Returns an object to represent the top level of the given JSON stream.