While eliciting a gRPC request to Postman, the response is having issues correctly printing out the uint64 keys of my protobuf file shown below:
"component_output": {
"5Öd\u0000\u0000\u0000\u0000": 299310.5,
" UZ¶\u0000\u0000\u0000\u0000": 7816.4365234375,
"a¦±_\u0001\u0000\u0000\u0000": 6820.3505859375, ...}
However, they should be giving the following, which is what’s logged using JsonConvert.SerializeObject
, and is correctly parsed through Console logs.
"ComponentOutput": {
"1686885941": 299310.5,
"3059373472": 7816.4365,
"5900445281": 6820.3506,...}
It would be great if I could fix the Postman response to look like the latter. The current type of component_output
field in the gRPC message is map<uint64, float>
.