Go to the documentation of this file.
71 bool operator==(
const JsonObject &other)
const;
72 bool operator!=(
const JsonObject &other)
const;
89 JsonObject &WithBool(
const char *key,
bool value);
100 JsonObject &WithInteger(
const char *key,
int value);
111 JsonObject &WithInt64(
const char *key, int64_t value);
122 JsonObject &WithDouble(
const char *key,
double value);
205 bool m_wasParseSuccessful;
231 String GetString(
const char *key)
const;
242 bool GetBool(
const String &key)
const;
246 bool GetBool(
const char *key)
const;
257 int GetInteger(
const String &key)
const;
262 int GetInteger(
const char *key)
const;
267 int AsInteger()
const;
273 int64_t GetInt64(
const String &key)
const;
278 int64_t GetInt64(
const char *key)
const;
283 int64_t AsInt64()
const;
288 double GetDouble(
const String &key)
const;
292 double GetDouble(
const char *key)
const;
297 double AsDouble()
const;
320 JsonView GetJsonObject(
const char *key)
const;
324 JsonObject GetJsonObjectCopy(
const char *key)
const;
341 bool ValueExists(
const String &key)
const;
346 bool ValueExists(
const char *key)
const;
351 bool KeyExists(
const String &key)
const;
355 bool KeyExists(
const char *key)
const;
360 bool IsObject()
const;
370 bool IsString()
const;
376 bool IsIntegerType()
const;
381 bool IsFloatingPointType()
const;
386 bool IsListType()
const;
397 String WriteCompact(
bool treatAsObject =
true)
const;
403 String WriteReadable(
bool treatAsObject =
true)
const;
std::vector< T, StlAllocator< T > > Vector
Definition: Types.h:66
bool WasParseSuccessful() const
Definition: JsonObject.h:189
#define AWS_CRT_CPP_API
Definition: Exports.h:34
const String & GetErrorMessage() const
Definition: JsonObject.h:194
Definition: JsonObject.h:31
Definition: JsonObject.h:217
std::basic_string< char, std::char_traits< char >, StlAllocator< char > > String
Definition: Types.h:58
std::map< K, V, std::less< K >, StlAllocator< std::pair< const K, V > >> Map
Definition: Types.h:60