Skip to main content

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

Uploaded Source

Built Distribution

navigate_json-1.0.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

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