Skip to main content

Module parser

Module parser 

Source
Expand description

Parse JASN text into a Value.

The main entry point is parse, which parses a string into a Value.

use jasn::parse;

let value = parse(r#"{ name: "Alice", age: 30 }"#).unwrap();
assert!(value.is_map());

Enums§

Error
Errors that can occur during parsing.

Functions§

parse
Parse a JASN string into a Value.

Type Aliases§

Result
Result type for parsing operations.