Custom struct as key in TMap that will be JSON serialized
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:
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.
asked Mar 22 '18 at 07:14 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here