I am looking to send a c# object back via mono-wasm, but when I attempt to do so, the returned object appears in my JavaScript file here.
The C# code can be found in [image2]: C# code
My JavaScript code can be found here: JS code
Everything seems to work fine when returning strings or primitive objects, but I'm struggling with returning the c# object.
If anyone has any ideas on how to solve this issue, I would greatly appreciate it.