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.
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.