API Reference
adafruit_json_stream
Minimal version of json_stream for CircuitPython use.
Author(s): Scott Shawcroft
- class adafruit_json_stream.Transient(stream)
Transient object representing a JSON object.
- as_object()
Consume all of the characters for this container from the stream and return as an object.
- finish()
Consume all of the characters for this container from the stream.
- class adafruit_json_stream.TransientList(stream)
Transient object that acts like a list through 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 container from the stream.
- items()
Return iterator in the dictionary’s items ((key, value) pairs).
- adafruit_json_stream.load(data_iter)
Returns an object to represent the top level of the given JSON stream.