Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Json/Public/Serialization/JsonTypes.h |
Include |
#include "Serialization/JsonTypes.h" |
enum EJson
{
None,
Null,
String,
Number,
Boolean,
Array,
Object,
}
Name |
Description |
---|---|
None |
|
Null |
|
String |
|
Number |
|
Boolean |
|
Array |
|
Object |
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.