Argonaut is a collection of libraries for working with JSON in PureScript. argonaut-traversals defines prisms, traversals, and zipper for the Argonaut Json type.
This library is bundled as part of Argonaut and can be installed via that library. To install just argonaut-traversals:
# with Spago
spago install argonaut-traversals
# with Bower
bower install purescript-argonaut-traversalsModule documentation is published on Pursuit. You may also be interested in other libraries in the Argonaut ecosystem:
- purescript-argonaut-core defines the
Jsontype, along with basic parsing, printing, and folding functions - purescript-argonaut-codecs provides codecs based on
EncodeJsonandDecodeJsontype classes, along with instances for common data types and combinators for encoding and decodingJsonvalues. - purescript-codec-argonaut supports an alternative approach for codecs, which are based on profunctors instead of type classes.
- purescript-argonaut-generic supports generic encoding and decoding for any type with a
Genericinstance.
Read the contribution guidelines to get started and see helpful related resources.