Navigation
API > API/Editor > API/Editor/EditorConfig
References
| Module | EditorConfig |
| Header | /Engine/Source/Editor/EditorConfig/Public/JsonConfig.h |
| Include | #include "JsonConfig.h" |
Syntax
class FJsonConfig
Constructors
| Type | Name | Description | |
|---|---|---|---|
FJsonConfig () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FJsonConfig * | |||
| TSharedPtr< FJsonObject > | |||
| bool | HasOverride
(
const FJsonPath& Path |
||
| bool | IsValid () |
||
| bool | LoadFromFile
(
FStringView FilePath |
||
| bool | LoadFromString
(
FStringView Content |
||
| bool | SaveToFile
(
FStringView FilePath |
||
| bool | SaveToString
(
FString& OutResult |
||
| bool | |||
| bool | SetJsonArray
(
const FJsonPath& Path, |
||
| bool | SetJsonObject
(
const FJsonPath& Path, |
||
| bool | SetJsonValue
(
const FJsonPath& Path, |
||
| bool | Try to set a number - returns false if: | ||
| void | SetParent
(
const TSharedPtr< FJsonConfig >& Parent |
||
| bool | SetRootObject
(
const TSharedPtr< FJsonObject >& Object |
||
| bool | |||
| bool | |||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
These are specializations for arithmetic and string arrays these could be templated with enable-ifs, but it ended up being more lines of incomprehensible template SFINAE than this clear list of types is | |
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetArray
(
const FJsonPath& Path, |
||
| bool | TryGetBool
(
const FJsonPath& Path, |
||
| bool | TryGetJsonObject
(
const FJsonPath& Path, |
||
| bool | TryGetJsonValue
(
const FJsonPath& Path, |
||
| bool | TryGetMap
(
const FJsonPath& Path, |
||
| bool | TryGetNumber
(
const FJsonPath& Path, |
||
| bool | TryGetString
(
const FJsonPath& Path, |
||
| bool | TryGetString
(
const FJsonPath& Path, |
||
| bool | TryGetString
(
const FJsonPath& Path, |