Skip to main content

JSON format handler on the json built-in module

Project description

jSona

JSON Format handler with bulit-in json module

Error tolerances are added to bulit-in json module.

Because those kind of works are really annoying.


Installation

pip3 install jSona-master/

Projects

jSona have two major functions

  • load : Loads data from json format file.

  • save : Saves to json format file.

  • loads, dumps : Equals loads and dumps functions in json module.


Examples

  • Script
# from jSona import save, load
from pprint import pprint as pp
from jSona import save, load

sample_data = {'hello':['world', 'everyone~']}
save("sample.json", sample_data, cry=True)

load_data = load("sample.json", cry=True)
pp(load_data)
  • Outputs
SAVE SUCCESS TO [ sample.json ]
LOAD SUCCESS FROM [ sample.json ]
{'hello': ['world', 'everyone~']}

Notices

Unauthorized distribution and commercial use are strictly prohibited without the permission of the original author and the related module.

Project details


Release history Release notifications | RSS feed

This version

3.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jSona-3.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jSona-3.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file jSona-3.1.tar.gz.

File metadata

  • Download URL: jSona-3.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.5

File hashes

Hashes for jSona-3.1.tar.gz
Algorithm Hash digest
SHA256 a4bdc5dfc1a5799c584deabb524925980686eb02c25d0a67cfe91e2ddb357da0
MD5 6894774241af829abd575ddb1981bd14
BLAKE2b-256 5b97037d5fdfc7135717f8a48f0ac25ae5bccd80f4b83d9ca569502b5d3fc7b4

See more details on using hashes here.

File details

Details for the file jSona-3.1-py3-none-any.whl.

File metadata

  • Download URL: jSona-3.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.1 CPython/3.8.5

File hashes

Hashes for jSona-3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d7f30aaaacde63e3ca72bbb673884f213628788199de963d17b639377f8d130
MD5 dd7373ce6db215092b80498861f2d774
BLAKE2b-256 221f71f70ed3d7395f8d77d9258586a9c19c4f7fcdbbd9b62786b02b24462702

See more details on using hashes here.

Supported by

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