Skip to main content

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


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 details)

Uploaded Source

Built Distribution

feapson-1.0.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file feapson-1.0.0.tar.gz.

File metadata

  • Download URL: feapson-1.0.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for feapson-1.0.0.tar.gz
Algorithm Hash digest
SHA256 88ff6099d85f50a51e08b65a708a13d0dcac72aff0c19f7989489d1198248274
MD5 2b6fb3e3b6d2068426804c65e522c002
BLAKE2b-256 5231b11d5708b6644f1416737093e7efd2582e08390f60dc5d3a4ff2ea819fc4

See more details on using hashes here.

File details

Details for the file feapson-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: feapson-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for feapson-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 471985a2c74ad5151d74221a83219b57a0188401ab60dc9d8dbf765abcbb8c72
MD5 43779a2d7d85ab6cb048c2ab3872b044
BLAKE2b-256 2445a0826aa6f8ebcb4108ea06050be71b6a3b4ec72ae71d20dc5af471afa252

See more details on using hashes here.

Supported by

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