Skip to main content

Ensure content is parseable as valid JSON.

Project description

guardrails-ai-valid-json

Ensure content is parseable as valid JSON.

Installation

pip install guardrails-ai-valid-json

This validator ships local models. After installing, run the post-install step to download them:

python -m guardrails_ai.valid_json.post_install

Usage

from guardrails import Guard
from guardrails_ai.valid_json import ValidJson

guard = Guard().use(ValidJson)

License

MIT — © Guardrails AI.

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

guardrails_ai_valid_json-0.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

guardrails_ai_valid_json-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file guardrails_ai_valid_json-0.1.0.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_valid_json-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4c62bfba1b9b33ac33827849c282025e09d07da699a6220d0934edf3f33e45f0
MD5 cb6b57de70d441c4c21a490dea7bd864
BLAKE2b-256 f3031c84e0f560be0bcc30dec6f1310928463f7af57175ff42733c75309d5086

See more details on using hashes here.

File details

Details for the file guardrails_ai_valid_json-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_valid_json-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4716c8f47095e0decea0a9fc667ed05bed8423e44be076bb9efc483f84ca5b7a
MD5 4bcfaa901bc109919bdee48a9bc94859
BLAKE2b-256 46e78d4dfcd47bfe898a0e2922041ae474d4fdd701beccdbffbc3b2803442ddf

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