/yson

JSON parser

Primary LanguagePythonMIT LicenseMIT

JSON parser

This JSON parser is just a demo, but most features of JSOΝ is supported.

How to use

You can run the demo of test.py:

python test.py

I have uploaded this package to pypi, so you can install it with:

pip install yson

and

yson.loads('{"test": 12345678}')

How to distribute it to PyPI

  • get account of PyPI and pypitest
  • config ~/.pypirc with your user name and password
  • upload it to test server
  • upload it to PyPI

This is the command for test:

python setup.py register -r pypitest
python setup.py sdist upload -r pypitest

And this will upload the package to PyPI

python setup.py register -r pypi
python setup.py sdist upload -r pypi

In the future

I will continue to imporve this demo.