Revision 948f6540
ID | 948f65406680ca6c7acc1e8bdb12708a088d5f6f |
Parent | 0df2d967 |
Child | 26e32dee |
Add a typeclass for type serializable as a JSON array
This is in particular needed for RPC requests which are serialized this
way and therefore using `showJSON` on the generated objects doesn't
work.
The fiels are serialized in the order they're declared, together with
any extra fields they declare.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Files
- added
- modified
- copied
- renamed
- deleted