Expand description
Serde integration for RSON
This crate provides Serialize and Deserialize implementations for working
with RSON data using the serde framework.
Modules§
- error
- Error types for RSON parsing and processing.
- formatter
- RSON formatter for converting
RsonValueback to text. - parser
- RSON parser implementation using nom.
- value
- RSON value types and data model.
Structs§
- Format
Options - Configuration options for RSON formatting.
- Formatter
- RSON formatter.
Enums§
- Rson
Error - Errors that can occur during RSON parsing and processing.
- Rson
Type - The type of an RSON value.
- Rson
Value - A value in the RSON format.
Functions§
- format
- Format a
RsonValueas 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§
- Rson
Result - Result type alias for RSON operations.