awwx.ws

Creating a parser combinator library to parse JSON

Introduction

Choosing a combinator interface

Displaying the parse result

Matching JSON literals

alt

fromjson

Skipping whitespace

JSON numbers

many1

seq

many

many1, implemented

JSON numbers, implemented

JSON strings

Better error reporting

JSON arrays

JSON objects

The finished result