docs/01-usage.markdown @ 37efd8463e96

Create separate error types for malformed JSON and unknown slots
author Steve Losh <steve@stevelosh.com>
date Wed, 02 Dec 2020 23:40:36 -0500
parents 6d74e7ab0fc0
children (none)
Usage
=====

Jarl is yet another JSON library for Common Lisp.

[![error class hierarchy](../static/errors.svg)](../static/errors.svg)

[TOC]

Generic JSON
------------

### Reading
### Printing

Specifying JSON Types
---------------------

Parsing Without Allocation (TODO: better title)
-----------------------------------------------

Limits and Errors
-----------------

MOP JSON
--------

Inheritance
-----------

Allow Print/Read
----------------

Unknown Slot Handling
---------------------

Input Struct (TODO better title)
--------------------------------

Wrapping Existing Classes
-------------------------

Simple way, using after-read and before-print.

End-user way, using wrappers.  Emphasize that this is *not* to be used in
libraries.

Other JSON Implementations
--------------------------

json-mop

yason, jonathon, etc