Make accessing JSON like data more convenient.
Project description
# Objectify JSON
Make accessing JSON like data more convenient.
## Features
Access dict value via dot . (data.a.b.c).
Always return ObjectifyJSON type, which holds the data having type dict, list or any other primitive types.
Use x._data to get the real data.
Always return ObjectifyJSON(None) if doesn’t exist.
Iterate on dict or list via for loop. The iteration elements’ type are ObjectifyJSON too!
Iterate on dict via .fn_keys(), .fn_values() or .fn_items().
Process data in a collection via .fn_map(), .fn_reduce() or .fn_filter().
An CLI tool named object to process JSON data.
## Install
` pip3 install objectify-json `
## Example
See test.py
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 Distributions
Built Distribution
Hashes for objectify_json-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c952ab1bfbe4e5b4ab91a5cc3743768092e5fe9448707d646c39076f32273b6 |
|
MD5 | 5d9bbf44ab443ff3d5d965aff2fd3ce5 |
|
BLAKE2b-256 | c3e5f2d9d9bc3d4350a4e9f48c2c7f3262f712dde1327b359a60ace078987ab2 |