{"library":"json-stream","type":"library","category":null,"description":"json-stream is a Python library (version 2.5.0, actively maintained) designed for efficient streaming JSON encoding and decoding. It allows processing JSON data in chunks, rather than loading the entire document into memory, which significantly reduces memory consumption and latency for large files or network streams. It provides a Pythonic dict/list-like interface for reading and uses generators for writing, making it suitable for web applications, data pipelines, and other scenarios requiring optimized JSON handling.","language":"python","status":"active","version":"2.5.0","tags":["json","streaming","parser","encoder","memory efficiency","large files"],"last_verified":"Fri May 22","install":[{"cmd":"pip install json-stream","imports":["import json_stream\ndata = json_stream.load(file_object)","from json_stream.writer import streamable_dict","from json_stream.writer import streamable_list"]},{"cmd":"pip install json-stream[rs]","imports":[]},{"cmd":"pip install json-stream[requests]","imports":[]}],"homepage":null,"github":"https://github.com/daggaz/json-stream","docs":null,"changelog":null,"pypi":"https://pypi.org/project/json-stream/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.9,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/json-stream/compatibility"}}