Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 449 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 449 Bytes

Build Status

pycson

This is a python parser for the Coffeescript Object Notation (CSON).

Install:

pip install cson

The interface is the same as for the standard json package.

>>> import cson
>>> cson.loads('a: 1')
{'a': 1}
>>> with open('file.cson', 'rb') as fin:
...     obj = cson.load(fin)
>>> obj
{'a': 1}