iotivity-lite
iotivity-lite copied to clipboard
Improve JSON payload encoder/decoder
Basic version available with OC_JSON_ENCODER_ENABLED=ON (cmake) / JSON_ENCODER=1 (Makefile).
Missing / unfinished features:
- [ ] decoding of doubles / floats (currently parsed as integers)
- [ ] encoding and decoding of byte arrays (use base64)
- [ ] forcing unit and integration tests to always use JSON fails, it seems that CBOR is still hard coded in some places (it should use runtime configuration for encoding and content format header to configure decoder)