Visitor that feeds into a rapidjson::Value. More...
#include <JsonSerializationUtils.h>
Inherits AZ::Dom::Visitor.
Additional Inherited Members | |
Public Types inherited from AZ::Dom::Visitor | |
| using | Result = AZ::Outcome< void, VisitorError > |
Static Protected Member Functions inherited from AZ::Dom::Visitor | |
| static Result | VisitorFailure (VisitorErrorCode code) |
| Helper method, constructs a failure Result with the specified code. | |
| static Result | VisitorFailure (VisitorErrorCode code, AZStd::string additionalInfo) |
| Helper method, constructs a failure Result with the specified code and supplemental info. | |
| static Result | VisitorFailure (VisitorError error) |
| Helper method, constructs a failure Result with the specified error. | |
| static Result | VisitorSuccess () |
| Helper method, constructs a success Result. | |
Visitor that feeds into a rapidjson::Value.
Operates on a bool value.
Reimplemented from AZ::Dom::Visitor.
Operates on a double precision, 64 bit floating point value.
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Finishes operating on an Array. Callers must provide the number of elements that were provided to the array, i.e. the number of value calls made within the direct context of this array (but not any nested arrays / nodes).
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Finishes operating on an Object. Callers must provide the number of attributes that were provided to the object, i.e. the number of key and value calls made within the direct context of this object (but not any nested objects / nodes).
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Returns a set of flags representing the operations this Visitor supports. The base implementation supports raw keys (
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Operates on a signed, 64 bit integer value.
Reimplemented from AZ::Dom::Visitor.
Specifies a key for a key/value pair. Key must be called subsequent to a call to StartObject or StartNode and immediately followed by calls representing the key's associated value.
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Operates on an empty null value.
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Specifies a key for a key/value pair using a raw string instead of AZ::Name.
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Operates on an Array. Callers may make any number of subsequent value calls to represent the elements of the array, and then must call EndArray.
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Operates on an Object. Callers may make any number of Key calls, followed by calls representing a value (including a nested StartObject call) and then must call EndObject.
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Operates on a string value. As strings are a reference type, storage semantics are provided to indicate where the value may be stored persistently or requires a copy.
| lifetime | Specifies the lifetime of this string - if the string has a temporary lifetime, it cannot safely be stored as a reference. |
Reimplemented from AZ::Dom::Visitor.
|
overridevirtual |
Operates on an unsigned, 64 bit integer value.
Reimplemented from AZ::Dom::Visitor.