iotivity-lite icon indicating copy to clipboard operation
iotivity-lite copied to clipboard

Improve JSON payload encoder/decoder

Open Danielius1922 opened this issue 1 year ago • 0 comments

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)

Danielius1922 avatar Oct 10 '23 14:10 Danielius1922