docs/02-reference.markdown @ 5a32a34392a2
Refactor a couple of things Changes the `:json/class` initarg to just `:json` because it's used so much. Seems more ergonomic. Also changes slots without an explicit `:json` to just be standard slots and to not be serialized. This seems safer and more reasonable anyway — I'd rather have to be a little more explict that to accidentally serialize a `password` slot.
| author | Steve Losh <steve@stevelosh.com> |
|---|---|
| date | Tue, 28 Jul 2020 21:28: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)