json-syntax 0.13.1

Strict JSON parsing and mapping library
Documentation
1
2
3
4
5
6
7
8
/// String stack capacity.
///
/// If a string is longer than this value,
/// it will be stored on the heap.
pub const JSON_STRING_STACK_CAPACITY: usize = 16;

/// String.
pub type JsonString = smallstr::SmallString<[u8; JSON_STRING_STACK_CAPACITY]>;