Hi All,
I am able to pack a JSON structure as follows into an OCRepresentation on
client side (and even parse it out again to verify I’ve packed it correctly
before sending it), but I am unable to parse it out on server side via PUT/POST:
Correct:
“
{
"MyStrings": [
{
"string": "foo"
}
],
"MyInt": 999
}
“
In my specific case, the only thing that is retrievable on the Server side in
the EntityHandler is:
Incorrect:
"
{
"MyInt": 999
}
“
Any help with this?
I *think* that the OCRepresentation->CBOR —GO OTA—> CBOR->OCRepresentation
logic may be broken for this use case.
Thanks,
Joey Morrow
_______________________________________________
iotivity-dev mailing list
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev