Navigation
API > API/Runtime > API/Runtime/JsonUtilities
Used for generating a JSON schema from any UStruct or FProperty.
| Name | FJsonSchemaGenerator |
| Type | class |
| Header File | /Engine/Source/Runtime/JsonUtilities/Public/JsonSchema/JsonSchemaGenerator.h |
| Include Path | #include "JsonSchema/JsonSchemaGenerator.h" |
Syntax
class FJsonSchemaGenerator
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FJsonObject > FPropertyToJsonSchemaObject
(
TNotNull< const FProperty* > Property, |
Derives a JSON Schema definition for Property's type. | JsonSchema/JsonSchemaGenerator.h | |
static FString FPropertyToJsonSchemaString
(
TNotNull< const FProperty* > Property, |
String output variant of FPropertyToJsonSchemaObject() (see above.) | JsonSchema/JsonSchemaGenerator.h | |
static TSharedPtr< FJsonObject > UStructToJsonSchemaObject
(
const FJsonSchemaPropertyFilter& PropertyFilter, |
Templated variant of UStructToJsonSchemaObject() (see above.). | JsonSchema/JsonSchemaGenerator.h | |
static TSharedPtr< FJsonObject > UStructToJsonSchemaObject
(
TNotNull< const UStruct* > Struct, |
Recursively walks Struct's property hierarchy to derive a JSON Schema definition for this type. | JsonSchema/JsonSchemaGenerator.h | |
static FString UStructToJsonSchemaString
(
const FJsonSchemaPropertyFilter& PropertyFilter, |
Templated variant of UStructToJsonSchemaString() (see above.). | JsonSchema/JsonSchemaGenerator.h | |
static FString UStructToJsonSchemaString
(
TNotNull< const UStruct* > Struct, |
String output variant of UStructToJsonSchemaObject() (see above.) | JsonSchema/JsonSchemaGenerator.h |