|
static bool | StringToJson (const FString &JsonString, TSharedPtr< FJsonObject > &JsonObject) |
|
static bool | JsonToString (const TSharedPtr< FJsonObject > &JsonObject, FString &JsonString) |
|
template<typename OutStructType > |
static bool | ParseJSONToStruct (const FString &Data, OutStructType *OutStruct) |
|
static FString | RemoveOptionalValuesThatNotSet (const FString &JsonString) |
|
static void | RemoveEmptyArrays (const TSharedPtr< FJsonObject > &JsonObject) |
|
static FString | MakeFunctionsString (const TSharedPtr< FJsonObject > &Json) |
|
static FString | CleanUpFunctionsObject (const FString &Input) |
|
static bool | OpenAIResponseContainsError (const TSharedPtr< FJsonObject > &JsonObject) |
|
|
static void | RemoveOptionalValuesInJsonObject (const TSharedPtr< FJsonObject > &JsonObject) |
|
static void | ProcessJsonArrayRemovingEmptyArrays (TArray< TSharedPtr< FJsonValue > > &JsonArray) |
|
|
static const FString | START_FUNCTION_OBJECT_MARKER = "START_FUNCTION_OBJECT_MARKER" |
|
static const FString | END_FUNCTION_OBJECT_MARKER = "END_FUNCTION_OBJECT_MARKER" |
|
The documentation for this class was generated from the following files:
- Source/OpenAI/Public/FuncLib/JsonFuncLib.h
- Source/OpenAI/Private/FuncLib/JsonFuncLib.cpp