JSON/XML

January 19, 2023 ยท View on GitHub

Any encoder or decoder for JSON/XML can be used, providing they implement decode/1 and encode/1.

To use jsx, apply the following configuration:

 {pgmp, [...
         {codec_json, jsx},
         {codec_jsonb, jsx},
         ...]}