parse

Function parse 

Source
pub fn parse(input: &str) -> RsonResult<RsonValue>
Expand description

Parse an RSON string into a RsonValue.

This is the main entry point for parsing RSON text.

ยงExamples

use rson_core::parse;

let input = r#"User(name: "Alice", age: 30)"#;
let value = parse(input).unwrap();