« Previous | Next » 

Revision 948f6540

ID948f65406680ca6c7acc1e8bdb12708a088d5f6f
Parent 0df2d967
Child 26e32dee

Added by Petr Pudlak about 10 years ago

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 <>
Reviewed-by: Klaus Aehlig <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences