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