Same as json.dumps or json.loads, feapson supprot feapson.dumps and feapson.loads
Project description
feapson
Same as json.dumps or json.loads, feapson support feapson.dumps and feapson.loads
Example:
>>> import feapson
>>> feapson.dumps({"a": True, "b": False, "c": [1, 2, 3]})
'{"a": True, "b": False, "c": [1, 2, 3]}'
>>> feapson.dumps({"a": True, "b": False, "c": [1, 2, 3]}, indent=4, ensure_ascii=False)
'''{
"a": True,
"b": False,
"c": [
1,
2,
3
]
}'''
>>> feapson.loads('{"a": True, "b": False, "c": [1, 2, 3]}')
{'a': True, 'b': False, 'c': [1, 2, 3]}
>>> feapson.loads('{"a": true, "b": false, "c": [1, 2, 3]}')
{'a': True, 'b': False, 'c': [1, 2, 3]}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
feapson-1.0.0.tar.gz
(14.3 kB
view hashes)
Built Distribution
feapson-1.0.0-py3-none-any.whl
(15.9 kB
view hashes)