Constant YYJSON_READ_INSITU

Source
pub const YYJSON_READ_INSITU: yyjson_read_flag = 1;
Expand description

Read the input data in-situ. This option allows the reader to modify and use input data to store string values, which can increase reading speed slightly. The caller should hold the input data before free the document. The input data must be padded by at least YYJSON_PADDING_SIZE bytes. For example: [1,2] should be [1,2]\0\0\0\0, input length should be 5.