json-parser

Parse and validate JSON data against schemas and JSONPath queries.

146|20|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/maxvaega/skillkit --skill json-parser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: json-parser
Source: https://github.com/maxvaega/skillkit/tree/main/examples/skills/file-reference-skill/skills/json-parser
Command: npx skills add https://github.com/maxvaega/skillkit --skill json-parser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill validates JSON data, supports schema checks, and extracts fields of interest.

Core Features & Use Cases

  • JSON Parsing: Load and pretty-print JSON with error handling.
  • Schema Validation: Validate against a provided JSON Schema when available.
  • Field Extraction: Retrieve values using JSONPath-like queries.

Quick Start

Validate a JSON document and extract a specific field.

Frequently Asked Questions about json-parser

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate JSON data for structural errors?

JSON validation checks structural integrity by parsing the data and identifying malformations like unclosed brackets, invalid syntax, or type mismatches. This Skill parses JSON strings, files, or streams and returns a validation status indicating whether the structure is well-formed.

Can I validate JSON against a schema?

Yes. Schema validation compares your JSON data against a provided JSON Schema to ensure content correctness and compliance. The Skill generates a schema compliance report when a schema is provided alongside your JSON data.

How do I extract specific fields from JSON data?

Field extraction uses JSONPath-like queries to retrieve values of interest from parsed JSON. The Skill executes your queries and returns the extracted values, allowing you to isolate and work with specific data points.

What output formats does JSON parsing support?

After parsing and validation, results can be converted to CSV or YAML formats. The Skill returns a validation status, structure overview, schema compliance report if applicable, and extracted values that can be exported in these formats.

Can I process JSON from files or only strings?

The Skill handles JSON strings, files, and streams, giving you flexibility in input source. It applies the same parsing, validation, and extraction logic regardless of whether data comes from direct input, file upload, or streaming sources.

What happens when JSON validation fails?

Validation failures are caught during parsing and reported as part of the status output. The Skill identifies malformations and provides error details, preventing invalid data from proceeding to downstream processing.