A Json Object Value. 更多...
#include <JsonValue.h>
类 FJsonValueObject 继承关系图:Public 成员函数 | |
| virtual bool | TryGetObject (const TSharedPtr< FJsonObject > *&OutObject) const override |
| Tries to convert this value to an object, returning false if not possible | |
Public 成员函数 继承自 FJsonValue | |
| void | AsArgumentType (double &Value) |
| Get a field of the same type as the argument | |
| const TArray< TSharedPtr< FJsonValue > > & | AsArray () const |
| Returns this value as an array, logging an error and returning an empty array reference if not possible | |
| bool | AsBool () const |
| Returns this value as a boolean, logging an error and returning false if not possible | |
| double | AsNumber () const |
| Returns this value as a double, logging an error and returning zero if this is not an Json Number | |
| virtual const TSharedPtr< FJsonObject > & | AsObject () const |
| Returns this value as an object, throwing an error if this is not an Json Object | |
| FString | AsString () const |
| Returns this value as a string, logging an error and returning an empty string if not possible | |
| bool | IsNull () const |
| Returns true if this value is a 'null' | |
| virtual bool | TryGetArray (const TArray< TSharedPtr< FJsonValue > > *&OutArray) const |
| Tries to convert this value to an array, returning false if not possible | |
| virtual bool | TryGetBool (bool &OutBool) const |
| Tries to convert this value to a bool, returning false if not possible | |
| virtual bool | TryGetNumber (double &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (float &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (int16 &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (int32 &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (int64 &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (int8 &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (uint16 &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (uint32 &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (uint64 &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetNumber (uint8 &OutNumber) const |
| Tries to convert this value to a number, returning false if not possible | |
| virtual bool | TryGetObject (const TSharedPtr< FJsonObject > *&Object) const |
| Tries to convert this value to an object, returning false if not possible | |
| virtual bool | TryGetString (FString &OutString) const |
| Tries to convert this value to a string, returning false if not possible | |
A Json Object Value.