Skip to main content

json_syntax/
string.rs

1/// String stack capacity.
2///
3/// If a string is longer than this value,
4/// it will be stored on the heap.
5pub const JSON_STRING_STACK_CAPACITY: usize = 16;
6
7/// String.
8pub type JsonString = smallstr::SmallString<[u8; JSON_STRING_STACK_CAPACITY]>;