Skip to content

robkuz/purescript-argonaut

 
 

Repository files navigation

PureScript-Argonaut

Build Status

This is an implementation of Argonaut for the PureScript language.

While not as feature rich as the Scala version, it still supports encoding and decoding.

A recent change is using native Javascript data types and functionality for parsing and rendering. If you don't use lenses, performance should be extremely good.

Installation

This can be installed with bower:

bower i purescript-argonaut

Usage

If you have some data type, and you want to encode it into JSON, you need to define an instance for Encode.

If you have some JSON, and you want to decode it into some data type, you need to define an instance for Decode.

About

PureScript implementation of argonaut

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PureScript 93.3%
  • JavaScript 6.7%