Custom struct as key in TMap that will be JSON serialized

Hey all,

So I have a USTRUCT that I’m using as a key in a TMap and that is working correctly after overriding operator== and GetTypeHash (the main member is an FString )

This TMap is also serialized to JSON though and I’m getting JSON serialization errors when it attempts to serialize:

LogJson: Error: Json Value of type ‘Object’ used as a ‘String’.

I think it’s because for UStructProperty that acts as the key internally doesn’t have HasExportTextItem & ExportTextItem implemented in the CppStructOps, but I’m not sure how exactly to set up my USTRUCT.

Any help greatly appreciated.

Many thanks,