json_schema born!

json_schema is a Python package for validating the structure and integrity of JSON data.

If, for example, you have the following JSON:

["some text", {"key": "value", "other_key": 123}]

And you expect the format to be that way, but the value of "key" could be any string and the value of "other_key" could be any integer, you could specify:

["some text", {"key": AnyString, "other_key": Any}]

And it'd validate! More information is available in the Python package itself, so download now!

json_schema on the Python Package Index



Comments

Comment the entry:

Name: (required, possibly pseudonym)
Remember me (cookie)

E-mail: (not required, never published, solely for me to reply to you in person)

URL:

Comment:

RSS 2.0