Skip to content

PMJSON v2.0.0

Compare
Choose a tag to compare
@lilyball lilyball released this 03 Jan 23:34
· 103 commits to master since this release
  • Add full support for decimal numbers (on supported platforms). This takes the form of a new JSON variant .decimal, any relevant accessors, and full parsing/decoding support with the new option .useDecimals. With this option, any number that would have been decoded as a Double will be decoded as a Decimal instead.
  • Add a set of forEach accessors for working with arrays, similar to the existing map and flatMap accessors.