on master help sign in
changelog: Some more notes on how the new JSONKeys can be used.
0f334bcAdam Bergmark
changelog.md+3−1
@@ -5,7 +5,9 @@ For the latest version of this document, please see [https://github.com/bos/aeso
5Major enhancements:
5Major enhancements:
6
6
7* Introduced new `FromJSONKey` and `ToJSONKey` type classes that are
7* Introduced new `FromJSONKey` and `ToJSONKey` type classes that are
8− used to encode maps without going through HashMap
8+ used to encode maps without going through HashMap. This also allows arbitrary
9+ serialization of keys where a string-like key will encode into an object and
10+ other keys will encode into an array of key-value tuples.
9
11
10* Added higher rank classes: `ToJSON1`, `ToJSON2`, `FromJSON1`, and
12* Added higher rank classes: `ToJSON1`, `ToJSON2`, `FromJSON1`, and
11 `FromJSON2`.
13 `FromJSON2`.