Purescript Simple Json Versions Save

A simple Purescript JSON library that uses types automatically

v9.0.0

2 years ago

generated by gh:

What's Changed

New Contributors

Full Changelog: https://github.com/justinwoo/purescript-simple-json/compare/v8.0.0...v9.0.0

v8.0.0

3 years ago

PureScript 0.14.0

v7.0.0

4 years ago

v5.1.0

5 years ago

Fixed readArray Foreign Errors

v4.3.0

5 years ago

Adds read_ and readJSON_ for Maybe forms

v4.0.0

6 years ago

PureScript 0.12.0 release

Removes Foreign-Generics dependency

v3.0.0

6 years ago

Same great simple usage.

Major changes:

  • NullOrUndefined removed, as it is also removed from Foreign-Generics
  • Maybe instance now uses the same NullOrUndefined behavior as Foreign-Generics, outputting undefined (no properties) for Nothing.
  • Nullable will continue to write null and explicitly check for null in reading.

v2.0.0

6 years ago

This release changes the signature of read to Foreign -> Either _ a and adds read' as Foreign -> F a

v1.1.0

6 years ago

Now there is variant support in Simple-JSON.

Tl;dr

type MyTestVariant = Variant
  ( a :: String
  , b :: Int
  )
{
  "type": "b",
  "value": 123
}

v1.0.0

6 years ago

Many people have already been using this library to great effect, so nothing much new comes in this release except for one big change by @kRITZCREEK:

  • readJSON now returns Either MultipleErrors a
  • readJSON' is available to return the old F a

This makes usage for many people easier as you no longer need to manually runExcept anymore.