A few helper functions which use JSON Path to perform operations on JSON transformed into Python objects.
Project description
Innovisk Wolverine JSON Funcs
The functions herein allow simple operations to be performed on a JSON object which have been transformed into Python objects (dicts and lists).
The Python objects are transversed using what I believe to be standard JSON Path. Here are a couple examples: $.Datavalue[?Cd="Losses"].Value $.Locations[0].Value There is currently no capability to do && filtering such as [?Cd="Losses" && Name="Bob"] because it is not required for our project at this time.
This package is admittedly fairly specific to our implementation, but if it's useful to anyone please feel free to use it and suggest improvements :)
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size innovisk_wolverine_json_funcs-0.0.1-py3-none-any.whl (4.1 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size innovisk-wolverine-json-funcs-0.0.1.tar.gz (3.0 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for innovisk_wolverine_json_funcs-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5410ea6630481af7cb5c988e143f25ccfeaa94b477f8c788e5e240b6d1a5c7cb |
|
MD5 | 8d74840478bb5d0968ba797cbb9bbc1e |
|
BLAKE2-256 | 6e91168b2a83cf5a31845b5f6eb84d4bd8bebcbad51c5100c05e67e3cd6b0394 |
Hashes for innovisk-wolverine-json-funcs-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7053ffafae817885f2ef43c31c98c5cba0a1460ca170090658ff1d7fda56e94a |
|
MD5 | 0cca7dbb3d2a67a72d8e46f7cffbffef |
|
BLAKE2-256 | 93952bacb0c09cb40f12fb2120b26d2e5358709e1d99d4aaf13f29f36554a374 |