Expand description
JSONFactory: owns the arena, uniques strings/numbers, shares hidden classes.
Structs§
- JSON
Factory - Owns all JSON nodes (in the arena), uniques strings/numbers, and shares
hidden classes. Port of
JSONFactory(JSONParser.h:524). Accessors take&self; the returned&'a JSONValuelives in the arena, independent of the transientRefCellborrow, so a caller may interleave factory use with parsing (asJSONParserTest::SmokeTest2does).
Type Aliases§
- Prop
- A single property: (key, value). The key is a
JSONValue::String.