docs/02-reference.markdown @ 64303dece177

Set :allow-print and :allow-read to t when not explicitly provided

If we don't do this, reevaluating a `defclass` after removing an `(:allow-print
nil)` option won't update the class, and still won't allow printing.  You'd have
to set `(:allow-print t)`, eval, then remove it, which is silly.
author Steve Losh <steve@stevelosh.com>
date Fri, 21 Aug 2020 21:48:29 -0400
parents a2712b3d3b16
children 6d74e7ab0fc0
# API Reference

The following is a list of all user-facing parts of Jarl.

If there are backwards-incompatible changes to anything listed here, they will
be noted in the changelog and the author will feel bad.

Anything not listed here is subject to change at any time with no warning, so
don't touch it.

[TOC]

## Package `JARL`

### `PRINT-JSON` (function)

    (PRINT-JSON OBJECT &OPTIONAL (STREAM *STANDARD-OUTPUT*))

### `READ-JSON` (function)

    (READ-JSON &OPTIONAL (STREAM-OR-STRING *STANDARD-INPUT*) (EOF-ERROR-P T) EOF-VALUE)