UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
JsonTypes.h File Reference
#include "CoreMinimal.h"
#include "Misc/TVariant.h"

Go to the source code of this file.

Typedefs

using FJsonSerializableArray = TArray< FString >
 
using FJsonSerializableArrayInt = TArray< int32 >
 
using FJsonSerializableArrayFloat = TArray< float >
 
using FJsonSerializableKeyValueMap = TMap< FString, FString >
 
using FJsonSerializableKeyValueMapInt = TMap< FString, int32 >
 
using FJsonSerializableKeyValueMapInt64 = TMap< FString, int64 >
 
using FJsonSerializableKeyValueMapFloat = TMap< FString, float >
 
using FJsonSerializableKeyValueMapArrayInt = TMap< FString, FJsonSerializableArrayInt >
 
using JsonNumberValueVariants = TVariant< int32, uint32, int64, float, double >
 
using JsonSimpleValueVariant = TVariant< bool, JsonNumberValueVariants, FString >
 
using FJsonSerializableKeySimpleValueVariantMap = TMap< FString, JsonSimpleValueVariant >
 

Enumerations

enum class  EJson {
  None , Null , String , Number ,
  Boolean , Array , Object
}
 
enum class  EJsonToken {
  None , Comma , CurlyOpen , CurlyClose ,
  SquareOpen , SquareClose , Colon , String ,
  Number , True , False , Null ,
  Identifier
}
 
enum class  EJsonNotation {
  ObjectStart , ObjectEnd , ArrayStart , ArrayEnd ,
  Boolean , String , Number , Null ,
  Error
}
 

Functions

bool EJsonToken_IsShortValue (EJsonToken Token)
 

Typedef Documentation

◆ FJsonSerializableArray

using FJsonSerializableArray = TArray<FString>

Array of data

◆ FJsonSerializableArrayFloat

◆ FJsonSerializableArrayInt

◆ FJsonSerializableKeySimpleValueVariantMap

Helps keep key values unique

◆ FJsonSerializableKeyValueMap

using FJsonSerializableKeyValueMap = TMap<FString, FString>

Maps a key to a value

◆ FJsonSerializableKeyValueMapArrayInt

◆ FJsonSerializableKeyValueMapFloat

◆ FJsonSerializableKeyValueMapInt

◆ FJsonSerializableKeyValueMapInt64

◆ JsonNumberValueVariants

We always read with the highest precisions (int64 or double), but we can write with any level of precision

◆ JsonSimpleValueVariant

Enumeration Type Documentation

◆ EJson

enum class EJson
strong

Json (JavaScript Object Notation) is a lightweight data-interchange format. Information on how it works can be found here: http://www.json.org/. This code was written from scratch with only the Json spec as a guide.

In order to use Json effectively, you need to be familiar with the Object/Value hierarchy, and you should use the FJsonObject class and FJsonValue subclasses. Represents all the types a Json Value can be.

Enumerator
None 
Null 
String 
Number 
Boolean 
Array 
Object 

◆ EJsonNotation

enum class EJsonNotation
strong
Enumerator
ObjectStart 
ObjectEnd 
ArrayStart 
ArrayEnd 
Boolean 
String 
Number 
Null 
Error 

◆ EJsonToken

enum class EJsonToken
strong
Enumerator
None 
Comma 
CurlyOpen 
CurlyClose 
SquareOpen 
SquareClose 
Colon 
String 
Number 
True 
False 
Null 
Identifier 

Function Documentation

◆ EJsonToken_IsShortValue()

bool EJsonToken_IsShortValue ( EJsonToken  Token)
inline