Find UStruct* with known user struct

I’m trying to write a function that will write an array of user defined structs into a Json file.
I know my struct name, but the first parameter in UStructToJsonObjectString requires a pointer to UStruct.
How do I get this?

I tried
UStruct* StructDef(FStructName);
but that yields
error C2664: ‘bool FJsonObjectConverter::UStructToJsonObjectString(const UStruct *,const void *,FString &,int64,int64,int32)’ : cannot convert argument 1 from ‘UStruct *(__cdecl *)(FStructName)’ to ‘const UStruct *’