AWS SDK for C++AWS SDK for C++ Version 1.11.788 |
#include <Document.h>
A Document type represents open content that is serialized using the same format as its surroundings and requires no additional encoding or escaping. Document types provide a JSON "view" of data regardless of the underlying protocol. This normalized JSON interface makes document types protocol-agnostic. Clients can use the data stored in a document without prior knowledge of the protocol by interacting with the normalized JSON view of the data. Document types are only initially supported in JSON protocol, so it's identical to Aws::Utils::Json::JsonValue and Aws::Utils::Json::JsonView at this moment.
Definition at line 35 of file Document.h.
Constructs empty Document.
Constructs a Document by parsing the input string.
Constructs a Document by parsing the text in the input stream.
Performs a deep copy of the Document parameter. Prefer using a DocumentView if copying is not needed.
Moves the ownership of the internal Document. No copying is performed.
Performs a deep copy of the JsonView parameter.
Converts the current Document to an array whose values are moved from the array parameter.
Converts the current Document to an array whose values are deep-copied from the array parameter.
Converts the current Document to a double.
Converts the current Document to a 64-bit integer.
Converts the current Document to an integer.
Converts the current Document to a string.
Returns the last error message from a failed parse attempt. Returns empty string if no error.
Definition at line 200 of file Document.h.
Convert this document to a JsonValue
Performs a deep copy of the Document parameter.
Performs a deep copy of the JsonView parameter.
Creates a view from the current Document.
Returns true if the last parse request was successful. If this returns false, you can call GetErrorMessage() to find the cause.
Definition at line 192 of file Document.h.
Adds an array of strings to the top level of this Document at key.
Adds a bool value with key to the top level of this Document.
Adds a double value at key at the top level of this Document.
Adds a 64-bit integer value at key to the top level of this Document.
Adds an integer value at key at the top level of this Document.
Adds a string to the top level of this Document with key.