79 JsonObject &WithBool(
const char *key,
bool value);
90 JsonObject &WithInteger(
const char *key,
int value);
101 JsonObject &WithInt64(
const char *key, int64_t value);
112 JsonObject &WithDouble(
const char *key,
double value);
195 bool m_wasParseSuccessful;
221 String GetString(
const char *key)
const;
232 bool GetBool(
const String &key)
const;
236 bool GetBool(
const char *key)
const;
247 int GetInteger(
const String &key)
const;
252 int GetInteger(
const char *key)
const;
257 int AsInteger()
const;
263 int64_t GetInt64(
const String &key)
const;
268 int64_t GetInt64(
const char *key)
const;
273 int64_t AsInt64()
const;
278 double GetDouble(
const String &key)
const;
282 double GetDouble(
const char *key)
const;
287 double AsDouble()
const;
310 JsonView GetJsonObject(
const char *key)
const;
314 JsonObject GetJsonObjectCopy(
const char *key)
const;
331 bool ValueExists(
const String &key)
const;
336 bool ValueExists(
const char *key)
const;
341 bool KeyExists(
const String &key)
const;
345 bool KeyExists(
const char *key)
const;
350 bool IsObject()
const;
360 bool IsString()
const;
366 bool IsIntegerType()
const;
371 bool IsFloatingPointType()
const;
376 bool IsListType()
const;
387 String WriteCompact(
bool treatAsObject =
true)
const;
393 String WriteReadable(
bool treatAsObject =
true)
const;
#define AWS_CRT_CPP_API
Definition: Exports.h:37
Definition: JsonObject.h:21
const String & GetErrorMessage() const
Definition: JsonObject.h:184
bool WasParseSuccessful() const
Definition: JsonObject.h:179
Definition: JsonObject.h:207
std::map< K, V, std::less< K >, StlAllocator< std::pair< const K, V > > > Map
Definition: Types.h:49
std::basic_string< char, std::char_traits< char >, StlAllocator< char > > String
Definition: Types.h:47
std::vector< T, StlAllocator< T > > Vector
Definition: Types.h:55
bool operator==(const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept
Definition: StringView.h:660
bool operator!=(const basic_string_view< CharT, Traits > &lhs, const basic_string_view< CharT, Traits > &rhs) noexcept
Definition: StringView.h:685