eProsima / Fast-DDS-Gen

Fast-DDS IDL code generator tool. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
77 stars 58 forks source link

Feature request: to/from json serialization methods #178

Closed mikegratton closed 1 year ago

mikegratton commented 1 year ago

For debugging apps that use IDL-derived types, it would be helpful to have to/from json methods. The toJson() method makes it easy to inspect any particular message without having to write extra code. The fromJson() method makes it easier to inject hand-made messages during testing, as the message content can be edited with a text editor.

Mario-DL commented 1 year ago

Hi @mikegratton

I think that is a nice suggestion, thanks for the proposal ! Nonetheless I am moving this to the proper discussion forum since it is not an issue.