Skip to main content

A small wrapper around YAJL's lexer

Project description

yajs

yajs is a simple package that provides a wrapper to the YAJL JSON lexer functions that allow tokenization of streams of JSON data without having to buffer up the whole data.

Examples:

>>> from cStringIO import StringIO
>>> from yajs import tokenize
>>> for token in tokenize(StringIO('[1, 2, 3]')):
...     print token
...
('start_array', None)
('value', 1)
('value', 2)
('value', 3)
('end_array', None)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
yajs-1.0.2-py2-none-macosx_10_11_intel.whl (36.5 kB) Copy SHA256 hash SHA256 Wheel 2.7 Apr 21, 2016
yajs-1.0.2.tar.gz (36.6 kB) Copy SHA256 hash SHA256 Source None Apr 21, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page