relequestual/json-validator — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2015-09-04
Validate user signup form submissions to ensure emails are valid and ages are positive.
Check incoming API request payloads against an OpenAPI or Swagger specification in a Perl web app.
Load validation schemas from JSON or YAML files and verify nested data structures against them.
Validate specialized data formats like IP addresses, hostnames, and URIs in automated data pipelines.
| relequestual/json-validator | backes/rainbarf | dougwilson/perl5-gravatar-url | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | Perl | Perl | Perl |
| Last pushed | 2015-09-04 | 2013-11-15 | 2011-09-21 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 1/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Install via CPAN, some advanced format checks like IP and domain validation use optional add-on modules if available.
JSON::Validator is a Perl tool that checks whether your data matches a set of rules you define upfront. Think of it as a bouncer for your data: you write a "schema" (a checklist of expectations, like "this field must be a string" or "this number can't be negative"), and the tool verifies incoming data against that checklist, flagging anything that doesn't comply. You define a schema as a simple structure listing required fields, allowed types, and constraints (like minimum values or allowed formats for dates and email addresses). Then you pass your actual data to the validator along with the schema. It walks through the data, checks each piece against the corresponding rule, and returns a list of errors if anything is wrong. Schemas can be written directly in your code or loaded from files and web URLs in JSON or YAML format. This would be useful for developers building Perl web applications that accept user input or API requests. For example, if you run a signup form and need to ensure every submission includes a valid email and an age above zero, this tool automates that gatekeeping so bad data never reaches your database. The project was spun off from a larger API framework called Swagger2, so it's particularly handy for validating API payloads against OpenAPI/Swagger specifications. The tool supports advanced JSON Schema features like referencing external definitions, validating nested objects, and checking specialized formats such as hostnames, IP addresses, and URIs. Some format checks (like domain and IP validation) use optional add-on modules if available, falling back to simpler regex matching otherwise. The README notes the project is experimental and its behavior may evolve.
A Perl library that checks whether your data matches a set of predefined rules called a schema. It validates incoming data like API requests or form submissions against a checklist and reports any errors.
Mainly Perl. The stack also includes Perl, JSON Schema, YAML.
Dormant — no commits in 2+ years (last push 2015-09-04).
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.