#include <JSONValidator.h>
bool JSONValidator::isValidArray |
( |
const json_char *&ptr |
DEPTH_PARAM | ) |
|
|
static |
References DEPTH_ARG, JSON_TEXT, and json_unlikely.
#define DEPTH_ARG(arg)
Definition: JSONValidator.h:10
#define JSON_TEXT(s)
Definition: Strings_Defs.h:30
#define json_unlikely(x)
Definition: Unknown_C.h:17
static bool isValidMember(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:212
static bool JSONValidator::isValidArray |
( |
const json_char *&ptr |
DEPTH_PARAM | ) |
|
|
static |
static bool JSONValidator::isValidMember |
( |
const json_char *&ptr |
DEPTH_PARAM | ) |
|
|
static |
bool JSONValidator::isValidMember |
( |
const json_char *&ptr |
DEPTH_PARAM | ) |
|
|
static |
References DEPTH_ARG, INC_DEPTH, JSON_TEXT, LETTERCASE, and LETTERCHECK.
#define DEPTH_ARG(arg)
Definition: JSONValidator.h:10
#define JSON_TEXT(s)
Definition: Strings_Defs.h:30
#define LETTERCHECK(x, y)
Definition: JSONValidator.cpp:204
#define INC_DEPTH()
Definition: JSONValidator.h:11
static bool isValidObject(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:329
static bool isValidNumber(const json_char *&ptr) json_nothrow json_read_priority
Definition: JSONValidator.cpp:12
#define LETTERCASE(x, y)
Definition: JSONValidator.cpp:201
static bool isValidArray(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:346
static bool isValidString(const json_char *&ptr) json_nothrow json_read_priority
Definition: JSONValidator.cpp:256
bool JSONValidator::isValidNamedObject |
( |
const json_char *&ptr |
DEPTH_PARAM | ) |
|
|
static |
References DEPTH_ARG, JSON_TEXT, and json_unlikely.
#define DEPTH_ARG(arg)
Definition: JSONValidator.h:10
#define JSON_TEXT(s)
Definition: Strings_Defs.h:30
static bool isValidNamedObject(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:314
#define json_unlikely(x)
Definition: Unknown_C.h:17
static bool isValidMember(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:212
static bool isValidString(const json_char *&ptr) json_nothrow json_read_priority
Definition: JSONValidator.cpp:256
static bool JSONValidator::isValidNamedObject |
( |
const json_char *&ptr |
DEPTH_PARAM | ) |
|
|
static |
bool JSONValidator::isValidNumber |
( |
const json_char *& |
ptr | ) |
|
|
static |
References isHex(), json_likely, JSON_TEXT, and json_unlikely.
16 bool scientific =
false;
79 while(
isHex(*++ptr)){};
#define JSON_TEXT(s)
Definition: Strings_Defs.h:30
#define json_unlikely(x)
Definition: Unknown_C.h:17
bool isHex(json_char c) json_pure
Definition: JSONValidator.cpp:6
#define json_likely(x)
Definition: Unknown_C.h:16
static bool JSONValidator::isValidNumber |
( |
const json_char *& |
ptr | ) |
|
|
static |
bool JSONValidator::isValidObject |
( |
const json_char *&ptr |
DEPTH_PARAM | ) |
|
|
static |
References DEPTH_ARG, and JSON_TEXT.
#define DEPTH_ARG(arg)
Definition: JSONValidator.h:10
#define JSON_TEXT(s)
Definition: Strings_Defs.h:30
static bool isValidNamedObject(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:314
static bool JSONValidator::isValidObject |
( |
const json_char *&ptr |
DEPTH_PARAM | ) |
|
|
static |
bool JSONValidator::isValidPartialRoot |
( |
const json_char * |
json | ) |
|
|
static |
References DEPTH_ARG, JSON_ASSERT_SAFE, json_char, and JSON_TEXT.
Referenced by JSONStream::parse().
#define DEPTH_ARG(arg)
Definition: JSONValidator.h:10
#define JSON_TEXT(s)
Definition: Strings_Defs.h:30
static bool isValidObject(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:329
static bool isValidArray(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:346
#define json_char
Definition: Strings_Defs.h:21
#define JSON_ASSERT_SAFE(condition, msg, code)
Definition: JSONDebug.h:49
static bool JSONValidator::isValidPartialRoot |
( |
const json_char * |
json | ) |
|
|
static |
static bool JSONValidator::isValidRoot |
( |
const json_char * |
json | ) |
|
|
static |
bool JSONValidator::isValidRoot |
( |
const json_char * |
json | ) |
|
|
static |
References DEPTH_ARG, json_char, json_likely, and JSON_TEXT.
Referenced by libjson::is_valid(), and libjson::is_valid_unformatted().
#define DEPTH_ARG(arg)
Definition: JSONValidator.h:10
#define JSON_TEXT(s)
Definition: Strings_Defs.h:30
static bool isValidObject(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:329
static bool isValidArray(const json_char *&ptr DEPTH_PARAM) json_nothrow json_read_priority
Definition: JSONValidator.cpp:346
#define json_char
Definition: Strings_Defs.h:21
#define json_likely(x)
Definition: Unknown_C.h:16
bool JSONValidator::isValidString |
( |
const json_char *& |
ptr | ) |
|
|
static |
References isHex(), JSON_TEXT, and json_unlikely.
#define JSON_TEXT(s)
Definition: Strings_Defs.h:30
#define json_unlikely(x)
Definition: Unknown_C.h:17
bool isHex(json_char c) json_pure
Definition: JSONValidator.cpp:6
static bool JSONValidator::isValidString |
( |
const json_char *& |
ptr | ) |
|
|
static |
The documentation for this class was generated from the following files: