Skip to content

Boris-code/feapson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]}

Install:

pip install feapson 

About

Same as json.dumps or json.loads, feapson support feapson.dumps and feapson.loads

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages