Passing JSON Object to Server (CSP)
I'm passing a JSON object to the server as such:
From the client:
- Build object
-pass to server side method as %String
On the server:
Instead of getting something like
I can't access that object using %Get as if says invalid OREF.
I've set the object passed a string to a global and debugged a bit on command line and was successfully able to convert to a dynamic object and use the %Get method to get the value for my key. I'm doing the exact same thing in the server side code but it doesn't work there. Typically, I can do it on the command line, I can do it in the code. I'm not sure what's different between stepping through on the CLI versus running it with they hyperevent. I must be missing something? Can someone offer some advice here?