FJsonObject Parameter for Blueprint Function

Hello! I’ve been having trouble figuring out how to have an object of type FJsonObject as a blueprint function parameter without it yelling at me.

UFUNCTION(BlueprintCallable, Category = "Common")
void func(FJsonObject JsonObj1, FJsonObject JsonObj2);

This spits out an error that says the type must be a class USTRUCT, UCLASS, or UENUM

Any help would be greatly appreciated!

FJsonObject I believe isn’t a “BlueprintType” object;
So you cannot attach “BlueprintCallable” to a function using it as a parameter.

I’m guessing there’s no workaround or possible typecasting?

I looked around a bit and found this. I’m guessing this is the closest this I can find on the subject. Good luck to anyone else looking.

https://forums.unrealengine.com/community/community-content-tools-and-tutorials/27351-tutorial-how-to-accept-wildcard-structs-in-your-ufunctions?56537-Tutorial-How-to-accept-wildcard-structs-in-your-UFUNCTIONs=