|
static const unsigned char | Json::ALIGNAS (8) kNull[sizeof(Value)] |
|
static std::string | Json::codePointToUTF8 (unsigned int cp) |
| Converts a unicode code-point to UTF-8. More...
|
|
static bool | Json::containsControlCharacter (const char *str) |
|
static bool | Json::containsControlCharacter0 (const char *str, unsigned len) |
|
static bool | Json::containsNewLine (Reader::Location begin, Reader::Location end) |
|
static void | Json::decodePrefixedString (bool isPrefixed, char const *prefixed, unsigned *length, char const **value) |
|
static char * | Json::duplicateAndPrefixStringValue (const char *value, unsigned int length) |
|
static char * | Json::duplicateStringValue (const char *value, size_t length) |
|
static void | Json::fixNumericLocale (char *begin, char *end) |
|
static void | Json::getValidReaderKeys (std::set< std::string > *valid_keys) |
|
static void | Json::getValidWriterKeys (std::set< std::string > *valid_keys) |
|
template<typename T , typename U > |
static bool | Json::InRange (double d, T min, U max) |
|
static bool | Json::isControlCharacter (char ch) |
| Returns true if ch is a control character (in range [0,32[). More...
|
|
static bool | Json::IsIntegral (double d) |
|
static std::string | Json::normalizeEOL (Reader::Location begin, Reader::Location end) |
|
JSON_API std::ostream & | Json::operator<< (std::ostream &, const Value &root) |
| Output using the StyledStreamWriter. More...
|
|
JSON_API std::istream & | Json::operator>> (std::istream &, Value &) |
| Read from 'sin' into 'root'. More...
|
|
bool JSON_API | Json::parseFromStream (CharReader::Factory const &, std::istream &, Value *root, std::string *errs) |
|
static void | Json::releaseStringValue (char *value) |
|
static char const * | Json::strnpbrk (char const *s, char const *accept, size_t n) |
|
void | Json::throwLogicError (std::string const &msg) |
| used internally More...
|
|
void | Json::throwRuntimeError (std::string const &msg) |
| used internally More...
|
|
static void | Json::uintToString (LargestUInt value, char *¤t) |
|
std::string JSON_API | Json::valueToQuotedString (const char *value) |
|
static std::string | Json::valueToQuotedStringN (const char *value, unsigned length) |
|
std::string JSON_API | Json::valueToString (Int value) |
|
std::string JSON_API | Json::valueToString (UInt value) |
|
std::string JSON_API | Json::valueToString (LargestInt value) |
|
std::string JSON_API | Json::valueToString (LargestUInt value) |
|
std::string JSON_API | Json::valueToString (double value) |
|
std::string JSON_API | Json::valueToString (bool value) |
|
std::string JSON_API | Json::writeString (StreamWriter::Factory const &factory, Value const &root) |
| Write into stringstream, then return string, for convenience. A StreamWriter will be created from the factory, used, and then deleted. More...
|
|