Metadata-Version: 2.1
Name: lzon
Version: 0.1.1
Summary: Lazy loading for JSON packets
Home-page: https://gitlab.com/deepadmax/lzon
License: MIT
Author: Maximillian Strand
Author-email: maxi@millian.se
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Project-URL: Repository, https://gitlab.com/deepadmax/lzon
Description-Content-Type: text/markdown

# LZON (Lazy JSON)

Sometimes, an API may not provide the response as a fully developed JSON object. Certain keys might need to be reparsed as JSON before you can then continue to index it. LZON should help with this. You index, and it only parses when it's relevant.

## Example

```py
import lzon

response = r"""
{
    "bumble": "{\"bee\": [1, 2, 64]}"
}
"""

data = lzon.loads(response)
print(data['bumble']['bee'][2])  # Should return 64
```
