Skip to content

Improve JSON payload encoder/decoder #544

@Danielius1922

Description

@Danielius1922

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)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions