libb.json_loads_byteified

json_loads_byteified(json_text)[source]

Parse ASCII encoded JSON from text string.

Parameters:

json_text (str) – JSON text to parse.

Returns:

Parsed JSON data.

Example:

>>> json_loads_byteified('{"foo": "bar"}')
{'foo': 'bar'}
>>> json_loads_byteified('{"foo": "bar", "things": [7, {"qux": "baz", "moo": {"cow": ["milk"]}}]}')
{'foo': 'bar', 'things': [7, {'qux': 'baz', 'moo': {'cow': ['milk']}}]}