Lines Matching refs:in
3 …nt Object Model(DOM) is an in-memory representation of JSON for query and manipulation. The basic …
34 The `Encoding` parameter specifies the encoding of JSON String value in memory. Possible options ar…
36 …in JSON files. Unicode-enabled functions in Windows use UTF-16 (wide character) encoding. No matte…
61 …ces to an `Allocator` instance. On the other hand, `Value` does not do so, in order to reduce memo…
63 The default allocator used in `GenericDocument` is `MemoryPoolAllocator`. This allocator actually a…
115 `kParseIterativeFlag` | Iterative(constant complexity in terms of function call stack size)…
116 …ErrorDocumentRootNotSingular` error. Using this flag for parsing multiple JSONs in the same stream.
117 `kParseFullPrecisionFlag` | Parse number in full precision (slower). If this flag is not set, t…
119 … using a single specialization). The downside is the flags needed to be determined in compile-time.
121 The `SourceEncoding` parameter defines what encoding is in the stream. This can be differed to the …
139 `kParseErrorStringUnicodeEscapeInvalidHex` | Incorrect hex digit after `\\u` escape in string.
140 `kParseErrorStringUnicodeSurrogateInvalid` | The surrogate pair in string is invalid.
141 `kParseErrorStringEscapeInvalid` | Invalid escape character in string.
142 `kParseErrorStringMissQuotationMark` | Missing a closing quotation mark in string.
143 `kParseErrorStringInvalidEncoding` | Invalid encoding in string.
144 `kParseErrorNumberTooBig` | Number too big to be stored in `double`.
145 `kParseErrorNumberMissFraction` | Miss fraction part in number.
146 `kParseErrorNumberMissExponent` | Miss exponent in number.
150 To get an error message, RapidJSON provided a English messages in `rapidjson/error/en.h`. User can …
172 …ite" or "in position". It means "locally", "on site", "on the premises" or "in place" to describe …
174 …in situ algorithm, or in-place algorithm, if the extra amount of memory required to execute the al…
176 …e it is stored. It is possible in JSON because the length of decoded string is always shorter than…
178 The following diagrams compare normal and *in situ* parsing. The JSON string values contain pointer…
186 *In situ* parsing just modified the original JSON. Updated characters are highlighted in the diagra…
188 Since *in situ* parsing modify the input, the parsing API needs `char*` instead of `const char*`.
213 …ally this improves cache coherence, which is an important factor of performance in modern computer.
215 There are some limitations of *in situ* parsing:
217 1. The whole JSON is in memory.
218 2. The source encoding in stream and target encoding in document must be the same.
220 4. If the DOM need to be used for long period after parsing, and there are few JSON strings in the …
222 …, for example, deserializing JSON to C++ objects, processing web requests represented in JSON, etc.
226 …F-8 JSON, while the DOM is using UTF-16 encoding. There is an example code in [EncodedInputStream]…
228 When writing a JSON from DOM to output stream, transcoding can also be used. An example is in [Enco…
230 … and then the code points are encoded in the target format. During decoding, it will validate the …
276 User can query the current memory consumption in bytes via `MemoryPoolAllocator::Size()`. And then …