You have to use the WRITE command instead of DO. I/O redirection is flawed with the DO command.
But, I do not see you using the new %Object and %Array classes. Instead your code builds a proxyObject and calls $toJSON() on it. Why are you not directly building %Object and %Array instances?
- Log in to post comments