-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.lisp
52 lines (45 loc) · 1.09 KB
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
;; This file is part of yason, a Common Lisp JSON parser/encoder
;;
;; Copyright (c) 2008-2019 Hans Huebner and contributors
;; All rights reserved.
;;
;; Please see the file LICENSE in the distribution.
(defpackage :yason
(:use :cl)
(:export
;; Parser
#:parse
#:*parse-object-key-fn*
#:*parse-object-as*
#:*parse-object-as-alist* ; deprecated
#:*parse-json-arrays-as-vectors*
#:*parse-json-booleans-as-symbols*
#:*parse-json-null-as-keyword*
#:true
#:false
#:null
;; Basic encoder interface
#:encode
#:encode-slots
#:encode-object
#:encode-plist
#:encode-alist
#:encode-plain-list-to-array
#:*list-encoder*
#:*symbol-encoder*
#:*symbol-key-encoder*
#:encode-symbol-as-lowercase
#:encode-symbol-as-string
#:make-json-output-stream
;; Streaming encoder interface
#:with-output
#:with-output-to-string*
#:no-json-output-context
#:with-array
#:encode-array-element
#:encode-array-elements
#:with-object
#:encode-object-element
#:encode-object-elements
#:encode-object-slots
#:with-object-element))