|
BDE 4.39.x Production Release
|
Classes | |
| class | Error |
| class | Json |
| class | Json_StringInvariantGuard |
| struct | Json_VisitUtil |
| class | JsonArray |
| class | JsonNull |
| class | JsonNumber |
| class | JsonObject |
| struct | JsonTestSuiteUtil |
| struct | JsonType |
| struct | JsonUtil |
| class | Location |
| struct | NumberUtil |
| struct | NumberUtil_ImpUtil |
| struct | NumberUtil_IsSigned |
| class | ReadOptions |
| struct | StringUtil |
| class | Tokenizer |
| class | WriteOptions |
| struct | WriteStyle |
Functions | |
| bool | operator== (const Error &lhs, const Error &rhs) |
| bool | operator!= (const Error &lhs, const Error &rhs) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const Error &object) |
| template<class HASHALG > | |
| void | hashAppend (HASHALG &hashAlgorithm, const Error &object) |
| void | swap (Error &a, Error &b) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const JsonArray &object) |
| bool | operator== (const JsonArray &lhs, const JsonArray &rhs) |
| bool | operator!= (const JsonArray &lhs, const JsonArray &rhs) |
| void | swap (JsonArray &a, JsonArray &b) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const JsonObject &object) |
| bool | operator== (const JsonObject &lhs, const JsonObject &rhs) |
| bool | operator!= (const JsonObject &lhs, const JsonObject &rhs) |
| void | swap (JsonObject &a, JsonObject &b) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const Json &object) |
| bool | operator== (const Json &lhs, const Json &rhs) |
| bool | operator!= (const Json &lhs, const Json &rhs) |
| bool | operator== (const JsonArray &lhs, const Json &rhs) |
| bool | operator== (const JsonObject &lhs, const Json &rhs) |
| bool | operator== (const JsonNumber &lhs, const Json &rhs) |
| bool | operator== (const JsonNull &lhs, const Json &rhs) |
| bool | operator== (bool lhs, const Json &rhs) |
| bool | operator== (int lhs, const Json &rhs) |
| bool | operator== (unsigned int lhs, const Json &rhs) |
| bool | operator== (long lhs, const Json &rhs) |
| bool | operator== (unsigned long lhs, const Json &rhs) |
| bool | operator== (long long lhs, const Json &rhs) |
| bool | operator== (unsigned long long lhs, const Json &rhs) |
| bool | operator== (float lhs, const Json &rhs) |
| bool | operator== (double lhs, const Json &rhs) |
| bool | operator== (bdldfp::Decimal64 lhs, const Json &rhs) |
| bool | operator== (const char *lhs, const Json &rhs) |
| bool | operator== (const bsl::string_view &lhs, const Json &rhs) |
| bool | operator== (const Json &lhs, const JsonArray &rhs) |
| bool | operator== (const Json &lhs, const JsonObject &rhs) |
| bool | operator== (const Json &lhs, const JsonNumber &rhs) |
| bool | operator== (const Json &lhs, const JsonNull &rhs) |
| bool | operator== (const Json &lhs, bool rhs) |
| bool | operator== (const Json &lhs, int rhs) |
| bool | operator== (const Json &lhs, unsigned int rhs) |
| bool | operator== (const Json &lhs, long rhs) |
| bool | operator== (const Json &lhs, unsigned long rhs) |
| bool | operator== (const Json &lhs, long long rhs) |
| bool | operator== (const Json &lhs, unsigned long long rhs) |
| bool | operator== (const Json &lhs, float rhs) |
| bool | operator== (const Json &lhs, double rhs) |
| bool | operator== (const Json &lhs, bdldfp::Decimal64 rhs) |
| bool | operator== (const Json &lhs, const char *rhs) |
| bool | operator== (const Json &lhs, const bsl::string_view &rhs) |
| bool | operator!= (const JsonArray &lhs, const Json &rhs) |
| bool | operator!= (const JsonObject &lhs, const Json &rhs) |
| bool | operator!= (const JsonNumber &lhs, const Json &rhs) |
| bool | operator!= (const JsonNull &lhs, const Json &rhs) |
| bool | operator!= (bool lhs, const Json &rhs) |
| bool | operator!= (int lhs, const Json &rhs) |
| bool | operator!= (unsigned int lhs, const Json &rhs) |
| bool | operator!= (long lhs, const Json &rhs) |
| bool | operator!= (unsigned long lhs, const Json &rhs) |
| bool | operator!= (long long lhs, const Json &rhs) |
| bool | operator!= (unsigned long long lhs, const Json &rhs) |
| bool | operator!= (float lhs, const Json &rhs) |
| bool | operator!= (double lhs, const Json &rhs) |
| bool | operator!= (bdldfp::Decimal64 lhs, const Json &rhs) |
| bool | operator!= (const char *lhs, const Json &rhs) |
| bool | operator!= (const bsl::string_view &lhs, const Json &rhs) |
| bool | operator!= (const Json &lhs, const JsonArray &rhs) |
| bool | operator!= (const Json &lhs, const JsonObject &rhs) |
| bool | operator!= (const Json &lhs, const JsonNumber &rhs) |
| bool | operator!= (const Json &lhs, const JsonNull &rhs) |
| bool | operator!= (const Json &lhs, bool rhs) |
| bool | operator!= (const Json &lhs, int rhs) |
| bool | operator!= (const Json &lhs, unsigned int rhs) |
| bool | operator!= (const Json &lhs, long rhs) |
| bool | operator!= (const Json &lhs, unsigned long rhs) |
| bool | operator!= (const Json &lhs, long long rhs) |
| bool | operator!= (const Json &lhs, unsigned long long rhs) |
| bool | operator!= (const Json &lhs, float rhs) |
| bool | operator!= (const Json &lhs, double rhs) |
| bool | operator!= (const Json &lhs, bdldfp::Decimal64 rhs) |
| bool | operator!= (const Json &lhs, const char *rhs) |
| bool | operator!= (const Json &lhs, const bsl::string_view &rhs) |
| void | swap (Json &a, Json &b) |
| bool | operator== (const JsonNull &lhs, const JsonNull &rhs) |
| bool | operator!= (const JsonNull &lhs, const JsonNull &rhs) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const JsonNull &object) |
| template<class HASHALG > | |
| void | hashAppend (HASHALG &hashAlgorithm, const JsonNull &object) |
| void | swap (JsonNull &a, JsonNull &b) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const JsonNumber &object) |
| bool | operator== (const JsonNumber &lhs, const JsonNumber &rhs) |
| bool | operator!= (const JsonNumber &lhs, const JsonNumber &rhs) |
| template<class HASHALG > | |
| void | hashAppend (HASHALG &hashAlgorithm, const JsonNumber &object) |
| void | swap (JsonNumber &a, JsonNumber &b) |
| bsl::ostream & | operator<< (bsl::ostream &stream, JsonType::Enum value) |
| bool | operator== (const Location &lhs, const Location &rhs) |
| bool | operator!= (const Location &lhs, const Location &rhs) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const Location &object) |
| template<class HASHALG > | |
| void | hashAppend (HASHALG &hashAlg, const Location &object) |
| void | swap (Location &a, Location &b) |
| bool | operator== (const ReadOptions &lhs, const ReadOptions &rhs) |
| bool | operator!= (const ReadOptions &lhs, const ReadOptions &rhs) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const ReadOptions &rhs) |
| bool | operator== (const WriteOptions &lhs, const WriteOptions &rhs) |
| bool | operator!= (const WriteOptions &lhs, const WriteOptions &rhs) |
| bsl::ostream & | operator<< (bsl::ostream &stream, const WriteOptions &rhs) |
| bsl::ostream & | operator<< (bsl::ostream &stream, WriteStyle::Enum value) |
Variables | |
| const JsonNull | jsonNull |
| void bdljsn::hashAppend | ( | HASHALG & | hashAlg, |
| const Location & | object | ||
| ) |
| void bdljsn::hashAppend | ( | HASHALG & | hashAlgorithm, |
| const Error & | object | ||
| ) |
Pass the specified object to the specified hashAlgorithm. This function integrates with the bslh modular hashing system and effectively provides a bsl::hash specialization for ErroError.
| void bdljsn::hashAppend | ( | HASHALG & | hashAlgorithm, |
| const JsonNull & | object | ||
| ) |
| void bdljsn::hashAppend | ( | HASHALG & | hashAlgorithm, |
| const JsonNumber & | object | ||
| ) |
Pass the specified object to the specified hashAlgorithm. This function integrates with the bslh modular hashing system and effectively provides a bsl::hash specialization for JsonNumber.
| bool bdljsn::operator!= | ( | bdldfp::Decimal64 | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | bool | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const bsl::string_view & | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const char * | lhs, |
| const Json & | rhs | ||
| ) |
Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise. Two attribute objects do not have the same value if one or more respective attributes differ in values.
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| bdldfp::Decimal64 | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| bool | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| const bsl::string_view & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| const char * | rhs | ||
| ) |
Return false if the specified lhs and rhs objects have the same value, and true otherwise. Two Json objects lhs and rhs have the same value if they hold objects of the same type, and those objects have the same value.
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| const JsonNumber & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| const JsonObject & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| double | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| float | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| int | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| long long | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| long | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| unsigned int | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| unsigned long long | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const Json & | lhs, |
| unsigned long | rhs | ||
| ) |
Return false if the specified lhs and rhs objects have the same value, and true otherwise. Two JsonArray objects lhs and rhs have the same value if they have the same number of elements, and each element in the ordered sequence of elements of lhs has the same value as the corresponding element in the ordered sequence of elements of rhs.
Return false (unconditionally) as the specified lhs and rhs cannot have the different values.
| bool bdljsn::operator!= | ( | const JsonNumber & | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const JsonNumber & | lhs, |
| const JsonNumber & | rhs | ||
| ) |
Return true if the specified lhs and rhs objects do not have the same value, and false otherwise. Two JsonNumber objects do not have the same value if their value attributes are not the same.
| bool bdljsn::operator!= | ( | const JsonObject & | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | const JsonObject & | lhs, |
| const JsonObject & | rhs | ||
| ) |
Return false if the specified lhs and rhs objects have the same value, and true otherwise. Two JsonObject objects have the same value if they have the same number of Member objects, and for each Member object that is contained in lhs there is a key-value pair contained in rhs having the same value, and vice versa.
Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise. Two attribute objects do not have the same value if one or more respective attributes differ in values.
|
inline |
Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise. Two attribute objects do not have the same value if one or more respective attributes do not have the same value.
|
inline |
Return true if the specified lhs and rhs attribute objects do not have the same value, and false otherwise. Two attribute objects do not have the same value if one or more respective attributes differ in values.
| bool bdljsn::operator!= | ( | double | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | float | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | int | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | long | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | long long | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | unsigned int | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | unsigned long | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator!= | ( | unsigned long long | lhs, |
| const Json & | rhs | ||
| ) |
| bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| const Error & | object | ||
| ) |
Write the value of the specified object to the specified output stream in a single-line format, and return a non-const reference to stream. If stream is not valid on entry, this operation has no effect.
object.print(stream, 0, -1), but with the attribute names elided. | bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| const Json & | object | ||
| ) |
Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect.
| bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| const JsonArray & | object | ||
| ) |
Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect.
| bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| const JsonNull & | object | ||
| ) |
Write "null" – the invariant value of the specified object – to the specified output stream in a single-line format and return a reference to stream.
| bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| const JsonNumber & | object | ||
| ) |
Write the value of the specified object to the specified output stream in a single-line format, and return a non-const reference to stream. If stream is not valid on entry, this operation has no effect.
object.print(stream, 0, -1). | bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| const JsonObject & | object | ||
| ) |
Write the value of the specified object to the specified output stream in a single-line format, and return a reference to stream. If stream is not valid on entry, this operation has no effect.
| bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| const Location & | object | ||
| ) |
Write the value of the specified object to the specified output stream in a single-line format, and return a non-const reference to stream. If stream is not valid on entry, this operation has no effect.
object.print(stream, 0, -1), but with the attribute names elided.
|
inline |
Format the specified rhs to the specified output stream in a single line format and return a non-const reference to stream.
|
inline |
Format the specified rhs to the specified output stream and return a non-const reference stream.
| bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| JsonType::Enum | value | ||
| ) |
Write the string representation of the specified enumeration value to the specified output stream in a single-line format, and return a reference to stream. See toAscii for what constitutes the string representation of a bdljsn::JsonType::Enum value.
| bsl::ostream & bdljsn::operator<< | ( | bsl::ostream & | stream, |
| WriteStyle::Enum | value | ||
| ) |
Write the string representation of the specified enumeration value to the specified output stream in a single-line format, and return a reference to stream. See toAscii for what constitutes the string representation of a bdljsn::WriteStyle::Enum value.
| bool bdljsn::operator== | ( | bdldfp::Decimal64 | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | bool | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const bsl::string_view & | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const char * | lhs, |
| const Json & | rhs | ||
| ) |
Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise. Two attribute objects have the same value if each respective attribute has the same value.
| bool bdljsn::operator== | ( | const Json & | lhs, |
| bdldfp::Decimal64 | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| bool | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| const bsl::string_view & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| const char * | rhs | ||
| ) |
Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two Json objects lhs and rhs have the same value if they hold objects of the same type, and those objects have the same value.
| bool bdljsn::operator== | ( | const Json & | lhs, |
| const JsonNumber & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| const JsonObject & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| double | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| float | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| int | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| long long | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| long | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| unsigned int | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| unsigned long long | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const Json & | lhs, |
| unsigned long | rhs | ||
| ) |
Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two JsonArray objects lhs and rhs have the same value if they have the same number of elements, and each element in the ordered sequence of elements of lhs has the same value as the corresponding element in the ordered sequence of elements of rhs.
Return true (unconditionally) as the specified lhs and rhs must have the same value.
| bool bdljsn::operator== | ( | const JsonNumber & | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const JsonNumber & | lhs, |
| const JsonNumber & | rhs | ||
| ) |
Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two JsonNumber objects have the same value if their value attributes are the same.
| bool bdljsn::operator== | ( | const JsonObject & | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | const JsonObject & | lhs, |
| const JsonObject & | rhs | ||
| ) |
Return true if the specified lhs and rhs objects have the same value, and false otherwise. Two JsonObject objects have the same value if they have the same number of Member objects, and for each Member object that is contained in lhs there is a key-value pair contained in rhs having the same value, and vice versa.
Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise. Two attribute objects have the same value if each respective attribute has the same value.
|
inline |
Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise. Two attribute objects have the same value if each respective attribute has the same value.
|
inline |
Return true if the specified lhs and rhs attribute objects have the same value, and false otherwise. Two attribute objects have the same value if each respective attribute has the same value.
| bool bdljsn::operator== | ( | double | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | float | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | int | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | long | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | long long | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | unsigned int | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | unsigned long | lhs, |
| const Json & | rhs | ||
| ) |
| bool bdljsn::operator== | ( | unsigned long long | lhs, |
| const Json & | rhs | ||
| ) |
Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.
Exchange the value of the specified a Json object with that of the specified b Json object. If an exception is thrown, both objects are left in valid but unspecified states. This operation guarantees O[1] complexity.
a was created with the same allocator as b. Exchange the value of the specified a JsonArray with that of the specified b JsonArray. This function provides the no-throw exception-safety guarantee. This operation has O[1] complexity if a was created with the same allocator as b; otherwise, it has O[n+m] complexity, where n and m are the number of elements in a and b, respectively.
Exchange the values of the specified a and b objects. This exception provides the no-throw exception-safety guarantee.
a and b have the same value (a class invariant), this operation is a no-op. | void bdljsn::swap | ( | JsonNumber & | a, |
| JsonNumber & | b | ||
| ) |
Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee if the two objects were created with the same allocator and the basic guarantee otherwise.
| void bdljsn::swap | ( | JsonObject & | a, |
| JsonObject & | b | ||
| ) |
Exchange the value of the specified a JsonObject with that of the specified b JsonObject. This function provides the no-throw exception-safety guarantee. This operation has O[1] complexity if a was created with the same allocator as b; otherwise, it has O[n+m] complexity, where n and m are the number of elements in a and b, respectively.
Exchange the values of the specified a and b objects. This function provides the no-throw exception-safety guarantee.
|
extern |