Skip to main content

In Python, it's easy to get the value of a key in JSON

Project description

=================== Getvalues

在python中,轻松获取json中某个key的值。

In Python, it's easy to get the value of a key in JSON

  • get属性
  • a = {'a': 1,'b': {[{'c':2}]}}
  • g = Getvalues.get('c', a)
  • print(g) // [2]

author: puyihd@gmail.com

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

Getvalues-0.1.2.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

Getvalues-0.1.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file Getvalues-0.1.2.tar.gz.

File metadata

  • Download URL: Getvalues-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for Getvalues-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2e24ed85d906d2c91c5bfa74936e5e2910adb754b839ca64ce6db86fafb2e3ed
MD5 16b5dca6c6e077c5f0878efc65bd912a
BLAKE2b-256 27f701ac91669d799dee2a3633e1f1299f65dd2cca00b983533ff00057a27402

See more details on using hashes here.

File details

Details for the file Getvalues-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: Getvalues-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9

File hashes

Hashes for Getvalues-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c07078bfbb746fe8811ebea785dd7ca0f3d892dab5b7ffb4ac50304e2f0ad530
MD5 e4d95422656836d27d841d995af2c303
BLAKE2b-256 09757bb489720b19bfa856b6084d5d3e1add366c849dd447b435fe910b038ef0

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