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



RSS 2.0