onlyshk / json-hs

json tools with haskell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

json-hs - json tools library

Json tools:

  • Json parser
  • Json builder

Json builder:

test = Json [Pair ("", JEmpty),
				Pair ("key1", JString "key2"),
				Pair ("key4", JString "key3"),
			Pair ("", JEndEmpty)
			]

--
-- output:
--
-- { 
--   "key1" : "key2",
--   "key4" : "key3"
-- }
--

Build:

cabal configure && cabal build

Dependencies:

  • base
  • directory

Bugs:

https://github.com/onlyshk/json-hs/issues

Contribute:

Fork, code, pull request

About:

If you have a question file an issue or find me on the twitter @onlyshk.

About

json tools with haskell

License:MIT License


Languages

Language:Haskell 100.0%