Lines Matching refs:is
3 Document Object Model(DOM) is an in-memory representation of JSON for query and manipulation. The b…
34 …TF16`, `UTF32`. Note that, these 3 types are also template class. `UTF8<>` is `UTF8<char>`, which …
61 The `Allocator` defines which allocator class is used when allocating/deallocating memory for `Docu…
63 …enericDocument` is `MemoryPoolAllocator`. This allocator actually allocate memory sequentially, an…
65 …is `CrtAllocator`, of which CRT is short for C RunTime library. This allocator simply calls the st…
69 `Document` provides several functions for parsing. In below, (1) is the fundamental function, while…
76 GenericDocument& GenericDocument::ParseStream(InputStream& is);
80 GenericDocument& GenericDocument::ParseStream(InputStream& is);
84 GenericDocument& GenericDocument::ParseStream(InputStream& is);
111 `kParseNoFlags` | No flag is set.
112 …faultFlags` | Default parse flags. It is equal to macro `RAPIDJSON_PARSE_DEFAULT_FLAGS`, …
116 …ot from stream, stop further processing the rest of stream. When this flag is used, parser will no…
117 …Parse number in full precision (slower). If this flag is not set, the normal precision (faster) is…
119 …e which is optimized for specified combinations, improving speed, and reducing code size (if only …
121 The `SourceEncoding` parameter defines what encoding is in the stream. This can be differed to the …
123 And the `InputStream` is type of input stream.
127 …eded, the `Document` contains the parse results. When there is an error, the original DOM is *unch…
132 `kParseErrorDocumentEmpty` | The document is empty.
140 `kParseErrorStringUnicodeSurrogateInvalid` | The surrogate pair in string is invalid.
148 The offset of error is defined as the character number from beginning of stream. Currently RapidJSO…
172 …is a Latin phrase that translates literally to "on site" or "in position". It means "locally", "on…
174 …is said to be an in situ algorithm, or in-place algorithm, if the extra amount of memory required …
176 …is to decode JSON strings and copy them to other buffers. *In situ* parsing decodes those JSON str…
182 …y allocated buffers. `"\\n"` (2 characters) is decoded as `"\n"` (1 character). `"\\u0073"` (6 cha…
213 …erheads and memory copying. Generally this improves cache coherence, which is an important factor …
217 1. The whole JSON is in memory.
219 3. The buffer need to be retained until the document is no longer used.
222 …rsing is mostly suitable for short-term JSON that only need to be processed once, and then be rele…
226 …le, the source stream contains a UTF-8 JSON, while the DOM is using UTF-16 encoding. There is an e…
228 When writing a JSON from DOM to output stream, transcoding can also be used. An example is in [Enco…
230 …is decoded to into Unicode code points, and then the code points are encoded in the target format.…
232 When the source encoding of stream is the same as encoding of DOM, by default, the parser will *not…
236 Some techniques about using DOM API is discussed here.
248 Actually, `Value::Accept()` is responsible for publishing SAX events about the value to the handler…
258 …uffer. The buffer can be on the program stack, or a "scratch buffer" which is statically allocated…
260 `MemoryPoolAllocator` will use the user buffer to satisfy allocations. When the user buffer is used…
262 Here is an example of using stack memory. The first allocator is for storing values, while the seco…
274 If the total size of allocation is less than 4096+1024 bytes during parsing, this code does not inv…