Skip to content

Instantly share code, notes, and snippets.

@neongreen
neongreen / JSONParser.hs
Last active October 12, 2015 22:57 — forked from zearen/JSONParser.hs
A JSON parser/printer
{-# LANGUAGE NoMonomorphismRestriction, FlexibleContexts #-}
import Data.Functor
import Control.Monad
import Data.List
import qualified Data.Map as M
import Text.Megaparsec
import Text.Megaparsec.Lexer (signed, float, integer)
import qualified Text.Megaparsec.Lexer as L

Keybase proof

I hereby claim:

  • I am neongreen on github.
  • I am green (https://keybase.io/green) on keybase.
  • I have a public key whose fingerprint is E719 6559 1104 D327 9F8E 9DF7 B8E3 5A33 FF52 2710

To claim this, I am signing this object: