Skip to main content

This is the simplest module for quick work with json files.

Project description

Jsons Library

What is this?

the module adds new features that are not available in the standard Json module

Quick Guide

The module allows you to create an object of the Jsons class and work with it as with standard json Create an instance of the Jsons class and pass the path to your JSON file jsons = Jsons('test.json')


Using

Using the library is simple:

Let's import it first: First, import everything from the library (use the from ... import * construct).

Examples of all operations:

Calculate the maximum nesting depth of JSON data using the 'max_depth' function:

depth = jsons.max_depth()

Find all occurrences of a given value in JSON data using 'find_by_value' function:

key_results = jsons.find_by_value('key')

Find all occurrences of a given key in JSON data using 'find_by_key' function:

key_results = jsons.find_by_key('value')

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

JsonsTest-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

JsonsTest-0.0.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file JsonsTest-0.0.2.tar.gz.

File metadata

  • Download URL: JsonsTest-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.13

File hashes

Hashes for JsonsTest-0.0.2.tar.gz
Algorithm Hash digest
SHA256 849af7c4ca59d3f808d298f780c96653a891b35bf5a83d8532ba0edd6d4f8ff7
MD5 247232b90d5e416bbe741ad205f2ce61
BLAKE2b-256 e23509ea6073f21754e5c64b0001ab22f7a46f61e6b4c269702976c7106b36f3

See more details on using hashes here.

File details

Details for the file JsonsTest-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: JsonsTest-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.13

File hashes

Hashes for JsonsTest-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4b61c087fc440654f5ec17f52f7baabdfee16fbcd084e76acb3666ae0d40cb34
MD5 cdda3e44030996e1d2654b77ac0fa63e
BLAKE2b-256 9e9e766d4cd70f12fe37576f2cafde326ad0098fc66ff8995f4c2e55494f0b65

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