Navigation
API > API/Runtime > API/Runtime/Json
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.
| Name | EJson |
| Type | enum |
| Header File | /Engine/Source/Runtime/Json/Public/Serialization/JsonTypes.h |
| Include Path | #include "Serialization/JsonTypes.h" |
Syntax
enum EJson
{
None,
Null,
String,
Number,
Boolean,
Array,
Object,
}
Values
| Name | Remarks |
|---|---|
| None | |
| Null | |
| String | |
| Number | |
| Boolean | |
| Array | |
| Object |