Argonaut is a collection of libraries for working with JSON in PureScript. argonaut-traversals
defines prisms, traversals, and zipper for the Argonaut Json
type.
Installation
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-traversals
Documentation
Module documentation is published on Pursuit. You may also be interested in other libraries in the Argonaut ecosystem:
- purescript-argonaut-core defines the
Json
type, along with basic parsing, printing, and folding functions - purescript-argonaut-codecs provides codecs based on
EncodeJson
andDecodeJson
type classes, along with instances for common data types and combinators for encoding and decodingJson
values. - 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
Generic
instance.
Contributing
Read the contribution guidelines to get started and see helpful related resources.