Check the python dict type via json file.
Project description
Json Checker
- STATUS: FINISHED.
Check the python dict type via json file.
Usage
from json_checker import json_checker
# compare between file and python dict
is_equal, msg = json_checker.check_from_file('example.json', {"a": 1, "b": 2})
# compare between two dicts
is_equal, msg = json_checker.structure({"a": 1, "b": 2}, {"a": 1, "b": 2})
LICENCE
MIT
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
Built Distribution
File details
Details for the file JsonChecker-Svtter-0.0.1.tar.gz
.
File metadata
- Download URL: JsonChecker-Svtter-0.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f30b69cae3dc7faba7b8f1c9e59ae93c0d4ececdb21ebf2bbeab372e06cd1db8 |
|
MD5 | 851c0e8bf5a0ef24a25d7fda4d6470be |
|
BLAKE2b-256 | 045c08b5a6069f42cee565118d0668c21c340d0b544895fe8cc59d3fa6e02889 |
File details
Details for the file JsonChecker_Svtter-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: JsonChecker_Svtter-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31644142f092530c0411a20ff3e8c2aec6aef77af3af8dcbdc104905f89946b6 |
|
MD5 | 7baec6e3eccabee14003d4e64285053a |
|
BLAKE2b-256 | 251312127e4814c5afbdc9c6fd3403445d618d4888bd10901bc91a5d95a183f9 |