Closed Kazuo256 closed 7 years ago
If a procedure tries to return a SIO object with fields that carry the value zero, they will appear as empty strings on the HTTP response body. For instance:
return D(_foo = 0);
Will be serialized to {"foo":}.
{"foo":}
Is this the intended behaviour?
Edit: it seems the error is in the iod library. Should I close this?
Had the same issue. Changed serialization to nlohmann::json
If a procedure tries to return a SIO object with fields that carry the value zero, they will appear as empty strings on the HTTP response body. For instance:
Will be serialized to
{"foo":}
.Is this the intended behaviour?
Edit: it seems the error is in the iod library. Should I close this?