A Python package to inpsect/manage json objects.
Project description
json_navigator
Usage
from navJson import jsonParsing
If the object you want to inspect is Python list, use the method below
If jsonToBeParsed is the variable name -
returnedCollectionOfCodes, _ = jsonParsing.listParserAndCodeCreator( jsonToBeParsed, rootCode = "jsonToBeParsed", collectionOfCodes = list() )
resultList = [ (code , eval(code) ) for code in returnedCollectionOfCodes ]
If it is a python dictionary, use below method
returnedCollectionOfCodes, _ = jsonParsing.jsonParserAndCodeCreator( jsonToBeParsed, rootCode = "jsonToBeParsed", collectionOfCodes = list() )
resultList = [ (code , eval(code) ) for code in returnedCollectionOfCodes ]
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
navigate-json-1.0.3.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for navigate_json-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e0c8fa48cdbea11884b3c9d0c2e9dd38a5fdaa37331224886f5d190e8325ac1 |
|
MD5 | ae9ce535b4eee261febc0a4eae3a6589 |
|
BLAKE2b-256 | e814c7eb3bb1da0be4fca0f383f98b24bfa127064f503098f305a7748c22fb69 |