Navigation
API > API/Editor > API/Editor/EditorConfig
| Name | FJsonConfig |
| Type | class |
| Header File | /Engine/Source/Editor/EditorConfig/Public/JsonConfig.h |
| Include Path | #include "JsonConfig.h" |
Syntax
class FJsonConfig
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FJsonConfig() |
JsonConfig.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MergedObject | TSharedPtr< FJsonObject > | JsonConfig.h | ||
| OnConfigChanged | FSimpleDelegate | JsonConfig.h | ||
| OverrideObject | TSharedPtr< FJsonObject > | JsonConfig.h | ||
| ParentConfig | TSharedPtr< FJsonConfig > | JsonConfig.h | ||
| SaveFuture | TFuture< void > | JsonConfig.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FJsonConfig * GetParentConfig() |
JsonConfig.h | ||
TSharedPtr< FJsonObject > GetRootObject() |
JsonConfig.h | ||
bool HasOverride
(
const FJsonPath& Path |
JsonConfig.h | ||
bool IsValid() |
JsonConfig.h | ||
bool LoadFromFile
(
FStringView FilePath |
JsonConfig.h | ||
bool LoadFromString
(
FStringView Content |
JsonConfig.h | ||
bool SaveToFile
(
FStringView FilePath |
JsonConfig.h | ||
bool SaveToString
(
FString& OutResult |
JsonConfig.h | ||
bool SetBool
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool SetJsonArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool SetJsonObject
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool SetJsonValue
(
const FJsonPath& Path, |
JsonConfig.h | ||
| Try to set a number - returns false if: | JsonConfig.h | ||
void SetParent
(
const TSharedPtr< FJsonConfig >& Parent |
JsonConfig.h | ||
bool SetRootObject
(
const TSharedPtr< FJsonObject >& Object |
JsonConfig.h | ||
| JsonConfig.h | |||
| JsonConfig.h | |||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
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 | JsonConfig.h | |
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetArray
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetBool
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetJsonObject
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetJsonValue
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetMap
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetNumber
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetString
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetString
(
const FJsonPath& Path, |
JsonConfig.h | ||
bool TryGetString
(
const FJsonPath& Path, |
JsonConfig.h |