28 const UStruct* StructDefinition,
31 ENamingConvention NamingConvention = ENamingConvention::SnakeCase);
33FString STREAMJSON_API UEnumToString(
const UEnum* EnumDefinition, int64 Value, ENamingConvention NamingConvention = ENamingConvention::SnakeCase);
35void STREAMJSON_API SetObjectField(FJsonObject& TargetJsonObject,
const FString& FieldName,
const TSharedPtr<FJsonObject>& FieldJsonObject);
36bool STREAMJSON_API TryGetObjectField(
const FJsonObject& TargetJsonObject,
const FString& FieldName,
const TSharedPtr<FJsonObject>*& FieldJsonObject);
TMap< FJsonAttributeKey, TSharedPtr< FJsonValue > > FJsonAttributeMap
The attributes of a json object, as stored in FJsonObject::Values.
Definition JsonAttributes.h:31
bool UStructToJsonAttributes(const UStruct *StructDefinition, const void *Struct, FJsonAttributeMap &OutJsonAttributes, ENamingConvention NamingConvention=ENamingConvention::SnakeCase)
Converts from a UStruct to a set of json attributes (possibly from within a JsonObject)
Definition JsonObjectSerialization.cpp:74