🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

json-stream-parser

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-stream-parser

parsing a stream of json objects without loading the whole stream into memory

0.3.dev0
PyPI
Maintainers
1

Parsing a stream of json objects without loading the whole stream into memory. Solution to https://stackoverflow.com/questions/6886283/how-i-can-i-lazily-read-multiple-json-values-from-a-file-stream-in-python

import sys
from json_stream_parser import load_iter
for obj in load_iter(sys.stdin):
    print(obj)

Keywords

json stream parser lazy

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts