Wrapper for easy interacting with JSON files.
Project description
jwrap
jwrap — is a single-file micro-library that implements JSON wrapper. Its mission is to make interacting with JSON a little bit easier without writing extra code.
More information is available in docstrings:
>>> import jwrap
>>> help(jwrap)
Quickstart
For example, you can write some data to json file by this:
from jwrap import Jwrap
j = Jwrap('myfile.json')
j.json['mykey'] = 'my value'
# or: j.ins('mykey', 'my value')
j.commit() # write data to file
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
jwrap-0.3.tar.gz
(2.7 kB
view hashes)
Built Distribution
jwrap-0.3-py3-none-any.whl
(3.8 kB
view hashes)