Skip to main content

This package helps handling json files more efficiently and quickly

Project description

Quick Json

This Package will help you deal with json files more quickly and efficiently.

How to Install it?

On Windows:

pip install quickjson

On Linux:

sudo pip3 install quickjson

How to Use it?

Initializing The Package

from quickjson.quickjson import QuickJson

jsonhelper = QuickJson('filename.json') # Provide the Name of the Json File while Initializing

This will initialize QuickJson Class to jsonhelper variable and now you can use it's all functions using the variable.

Reading Data From Json Files


This will print the contents of json file in the console.

Writing Data to Json FIles

data = {"elite": "john"} # Sample Dictionary

jsohelper.write_json_file(data) # Parsing the dictionary

This will write the dictionary parsed in the json file.

Inserting Element to a List present inside json file

If you want to insert an item to a list present inside json file then use this code

jsonhelper.write_list_json_file('listname', 'element')

This will insert the element into the specific list

For More Information, Visit Documentation.

Project details

Download files

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

Files for quickjson, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size quickjson-0.0.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View
Filename, size quickjson-0.0.2-py3-none-any.whl (3.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page