#include "allocators.h"
#include "stream.h"
#include "encodedstream.h"
#include "internal/clzll.h"
#include "internal/meta.h"
#include "internal/stack.h"
#include "internal/strtod.h"
#include <limits>
#include "error/error.h"
Aller au code source de ce fichier.
|
struct | BaseReaderHandler< Encoding, Derived > |
| Default implementation of Handler. Plus de détails...
|
|
class | internal::StreamLocalCopy< Stream, 1 > |
| Do copy optimization. Plus de détails...
|
|
class | internal::StreamLocalCopy< Stream, 0 > |
| Keep reference. Plus de détails...
|
|
class | GenericReader< SourceEncoding, TargetEncoding, StackAllocator > |
| SAX-style JSON parser. Use Reader for UTF8 encoding and default allocator. Plus de détails...
|
|
struct | GenericReader< SourceEncoding, TargetEncoding, StackAllocator >::ClearStackOnExit |
|
class | GenericReader< SourceEncoding, TargetEncoding, StackAllocator >::StackStream< CharType > |
|
class | GenericReader< SourceEncoding, TargetEncoding, StackAllocator >::NumberStream< InputStream, false, false > |
|
class | GenericReader< SourceEncoding, TargetEncoding, StackAllocator >::NumberStream< InputStream, true, false > |
|
class | GenericReader< SourceEncoding, TargetEncoding, StackAllocator >::NumberStream< InputStream, true, true > |
|
|
enum | ParseFlag {
kParseNoFlags = 0
, kParseInsituFlag = 1
, kParseValidateEncodingFlag = 2
, kParseIterativeFlag = 4
,
kParseStopWhenDoneFlag = 8
, kParseFullPrecisionFlag = 16
, kParseCommentsFlag = 32
, kParseNumbersAsStringsFlag = 64
,
kParseTrailingCommasFlag = 128
, kParseNanAndInfFlag = 256
, kParseDefaultFlags = RAPIDJSON_PARSE_DEFAULT_FLAGS
} |
| Combination of parseFlags. Plus de détails...
|
|
|
template<typename InputStream > |
void | SkipWhitespace (InputStream &is) |
| Skip the JSON white spaces in a stream.
|
|
const char * | SkipWhitespace (const char *p, const char *end) |
|
◆ RAPIDJSON_PARSE_DEFAULT_FLAGS
◆ Reader
Reader with UTF8 encoding and default allocator.
Définition à la ligne 2219 du fichier reader.h.
◆ ParseFlag
Combination of parseFlags.
- Voir également
- Reader::Parse, Document::Parse, Document::ParseInsitu, Document::ParseStream
Valeurs énumérées |
---|
kParseNoFlags | No flags are set.
|
kParseInsituFlag | In-situ(destructive) parsing.
|
kParseValidateEncodingFlag | Validate encoding of JSON strings.
|
kParseIterativeFlag | Iterative(constant complexity in terms of function call stack size) parsing.
|
kParseStopWhenDoneFlag | After parsing a complete JSON root from stream, stop further processing the rest of stream. When this flag is used, parser will not generate kParseErrorDocumentRootNotSingular error.
|
kParseFullPrecisionFlag | Parse number in full precision (but slower).
|
kParseCommentsFlag | Allow one-line (//) and multi-line (/**/) comments.
|
kParseNumbersAsStringsFlag | Parse all numbers (ints/doubles) as strings.
|
kParseTrailingCommasFlag | Allow trailing commas at the end of objects and arrays.
|
kParseNanAndInfFlag | Allow parsing NaN, Inf, Infinity, -Inf and -Infinity as doubles.
|
kParseDefaultFlags | Default parse flags. Can be customized by defining RAPIDJSON_PARSE_DEFAULT_FLAGS.
|
Définition à la ligne 147 du fichier reader.h.
◆ SkipWhitespace() [1/2]
const char * SkipWhitespace |
( |
const char * |
p, |
|
|
const char * |
end |
|
) |
| |
|
inline |
◆ SkipWhitespace() [2/2]
template<typename InputStream >
void SkipWhitespace |
( |
InputStream & |
is | ) |
|
Skip the JSON white spaces in a stream.
- Paramètres
-
is | A input stream for skipping white spaces. |
- Note
- This function has SSE2/SSE4.2 specialization.
Définition à la ligne 266 du fichier reader.h.