Skip to content

Flatten nested objects in the JSON representation of message bodies #28

Description

@ts5746

The WFJL and WFJSL use a "flat" key-value-pair structure in their message class for the representation of message bodies. The Whiteflag JSON message schema, however, specifies a more complex structure for the JSON representation of T and Q message bodies with nested objects, which is harder to implement, especially becuase serialised and encoded messages are flattened. See also WhiteflagProtocol/whiteflag-java#12.

Therefore, consider changing the Whiteflag JSON message schema to avoid nested objects in message body representations. The behaviour of the Whiteflag API will then be changed upon adopting the WFJSL as the underlying Whiteflag implementation.

Metadata

Metadata

Assignees

Labels

interoperabilityImpacts interoperability and backwards compatibility

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions