zParse
Introduction
zParse is a high-performance Rust library and toolchain for parsing and converting JSON, TOML, YAML, and XML. It ships as a library, a CLI, and an HTTP API so you can integrate it in other Rust projects or expose it to a frontend.
Features
- Native parsers for JSON, TOML (with native datetime types), YAML 1.2, and XML
- Streaming/event-based parsing with depth and size limits
- Format conversion between all supported formats
- CLI for conversion with stdin/stdout support
- Axum API for programmatic access
Usage
Library
use ;
let json_value = from_str?;
let toml_value = from_toml_str?;
let yaml_value = from_yaml_str?;
let xml_doc = from_xml_str?;
# Ok::
Conversion
use ;
let out = convert?;
# Ok::
CLI
|
API
Contribution
See CONTRIBUTING.md for guidelines and workflow details.
License
This project is licensed under the GPL-3.0 License.
Changelog
See CHANGELOG.md for version history and release notes.