- Parse JSON-formatted String into Haskell data
- Display data using JSON format
- Native Data types
To parse JSON data from String
, use parseJSON :: Parser JSONValue
from J4HSKL.Parser
(with Parser
being a simple Parser)
If the String
contains only JSON Data, use parseStrictJSON :: String -> Maybe JSONValue
from J4HSKL.Parser
Read documentation here to understand how to user these parsers
In J4HSKL, a JSON Value is a data type using native Haskell data types: Bool
, Integer
, String
, List
...
Using JSONValue
data, you can format them using JSON format, thanks to show
Read documentation here to understand how to manage JSON-parsed data
To import from/export to file, use respectively importJSON
and exportJSON
functions
These functions are documented here
- Better delivery method
To build J4HSKL library, run stack build
- Stack
- HUnit
- Haddock