pub fn make() -> TabnasExpand description
Build a standard-JSON parser instance.
Infallible by design, and it goes through json() rather than
duplicating the setup, so this path and installing the plugin by hand
cannot drift. The document is a fixed literal, so a failure here is a
bug in this crate rather than anything a caller did — the Go Make
panics for the same reason, with the same justification.
let parser = tabnas_json::make();
let value = parser.parse("[1,2,3]")?;
assert_eq!(value.to_string(), "[1,2,3]");
assert!(parser.parse("[1,2,]").is_err());