Navigation
API > API/Runtime > API/Runtime/Json
| Name | TJsonReader |
| Type | class |
| Header File | /Engine/Source/Runtime/Json/Public/Serialization/JsonReader.h |
| Include Path | #include "Serialization/JsonReader.h" |
Syntax
template<class CharType>
class TJsonReader
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TJsonReader () |
Hidden default constructor. | Serialization/JsonReader.h | |
TJsonReader
(
FArchive* InStream |
Creates and initializes a new instance with the given input. | Serialization/JsonReader.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TJsonReader() |
Serialization/JsonReader.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StoredCharType | TElementType_T< StoredStringType > | Serialization/JsonReader.h | |
| StoredStringType | std::conditional_t< std::is_same_v< CharType, ANSICHAR >, FUtf8String, TString< CharType > > | Store ANSICHAR in FUtf8String because JSON may contain scaped unicode characters that would not be recoverable otherwise. Use default string type for the char type otherwise. | Serialization/JsonReader.h |
| ValueAsStringReturnType | std::conditional_t< std::is_same_v< StoredStringType, FString >, const FString &, FString > | Serialization/JsonReader.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const uint32 GetCharacterNumber() |
Serialization/JsonReader.h | ||
const FString & GetErrorMessage() |
Serialization/JsonReader.h | ||
virtual const FString & GetIdentifier() |
Serialization/JsonReader.h | ||
virtual const StoredStringType & GetInternalValueAsString() |
Serialization/JsonReader.h | ||
const uint32 GetLineNumber() |
Serialization/JsonReader.h | ||
bool GetValueAsBoolean() |
Serialization/JsonReader.h | ||
double GetValueAsNumber() |
Serialization/JsonReader.h | ||
const StoredStringType & GetValueAsNumberString() |
Serialization/JsonReader.h | ||
virtual ValueAsStringReturnType GetValueAsString() |
Serialization/JsonReader.h | ||
bool ReadNext
(
EJsonNotation& Notation |
Serialization/JsonReader.h | ||
bool SkipArray() |
Serialization/JsonReader.h | ||
bool SkipObject() |
Serialization/JsonReader.h | ||
virtual StoredStringType StealInternalValueAsString() |
Serialization/JsonReader.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InlineCombineSurrogates
(
Type& String |
Serialization/JsonReader.h | ||
bool Serialize
(
void* V, |
Serialization/JsonReader.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< TJsonReader< CharType > > Create
(
FArchive*const Stream |
Serialization/JsonReader.h |