Skip to main content

Crate rson_schema

Crate rson_schema 

Source
Expand description

RSON schema validation

This crate provides schema validation for RSON values.

Modules§

error
Error types for RSON parsing and processing.
formatter
RSON formatter for converting RsonValue back to text.
parser
RSON parser implementation using nom.
value
RSON value types and data model.

Structs§

FormatOptions
Configuration options for RSON formatting.
Formatter
RSON formatter.

Enums§

RsonError
Errors that can occur during RSON parsing and processing.
RsonType
The type of an RSON value.
RsonValue
A value in the RSON format.

Functions§

format
Format a RsonValue as an RSON string.
format_compact
Format an RSON value with compact formatting.
format_pretty
Format an RSON value with default pretty formatting.
format_rson
Format an RSON value with the given options.
parse
Parse an RSON string into a RsonValue.
parse_rson
Parse a complete RSON document.
parse_rson_value
Parse a single RSON value (may not consume entire input).

Type Aliases§

RsonResult
Result type alias for RSON operations.