Skip to main content

Read JSON and it's variants from a char stream.

Project description

JSON Reader

Read JSON and it's variants from a char stream.

Install

pip instsall -U json-reader

Usage

  • See json_reader/test_scanner.py
  • cat example.log | python -m json_reader
  • cat example.log | json_reader

Environemnts

  • JSON_INDENT: specify the output indent in integer.
  • BY_LINES: flag to read stdin line by line, then JSON content must NOT spand cross multiple lines.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

json_reader-0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file json_reader-0.2-py3-none-any.whl.

File metadata

  • Download URL: json_reader-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for json_reader-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2c599a6823553e8e738623cce4b3a2c0e26276c94763cf460dd2a2bc06165f1
MD5 0aa210d33bba00bb3686e59e13a98a03
BLAKE2b-256 97921ebbd475a652ba6596e8631fd303dd2d9318e6934a93d3226f104cbd02f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page