-
Notifications
You must be signed in to change notification settings - Fork 67
/
a_json_slow_init.go
37 lines (30 loc) · 1.32 KB
/
a_json_slow_init.go
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
// This file is generated by generate-std.joke script. Do not edit manually!
package json
import (
"fmt"
. "github.com/candid82/joker/core"
"os"
)
func InternsOrThunks() {
if VerbosityLevel > 0 {
fmt.Fprintln(os.Stderr, "Lazily running slow version of json.InternsOrThunks().")
}
jsonNamespace.ResetMeta(MakeMeta(nil, `Implements encoding and decoding of JSON as defined in RFC 4627.`, "1.0"))
jsonNamespace.InternVar("json-seq", json_seq_,
MakeMeta(
NewListFrom(NewVectorFrom(MakeSymbol("rdr")), NewVectorFrom(MakeSymbol("rdr"), MakeSymbol("opts"))),
`Returns the json records from rdr as a lazy sequence.
rdr must be a string or implement io.Reader.
Optional opts map may have the following keys:
:keywords? - if true, JSON keys will be converted from strings to keywords.`, "1.0"))
jsonNamespace.InternVar("read-string", read_string_,
MakeMeta(
NewListFrom(NewVectorFrom(MakeSymbol("s")), NewVectorFrom(MakeSymbol("s"), MakeSymbol("opts"))),
`Parses the JSON-encoded data and return the result as a Joker value.
Optional opts map may have the following keys:
:keywords? - if true, JSON keys will be converted from strings to keywords.`, "1.0"))
jsonNamespace.InternVar("write-string", write_string_,
MakeMeta(
NewListFrom(NewVectorFrom(MakeSymbol("v"))),
`Returns the JSON encoding of v.`, "1.0"))
}