This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
docdoc.go
60 lines (58 loc) · 1.65 KB
/
docdoc.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Code generated by "bitfanDoc -codec json"; DO NOT EDIT
package jsoncodec
import "github.com/vjeantet/bitfan/processors/doc"
func Doc() *doc.Codec {
return &doc.Codec{
Name: "json",
PkgName: "jsoncodec",
ImportPath: "github.com/vjeantet/bitfan/codecs/json",
Doc: "",
DocShort: "",
Decoder: &doc.Decoder{
Doc: "",
Options: &doc.CodecOptions{
Doc: "",
Options: []*doc.CodecOption{
&doc.CodecOption{
Name: "Indent",
Alias: "indent",
Doc: "Set indentation",
Required: false,
Type: "string",
DefaultValue: "\"\"",
PossibleValues: []string{},
ExampleLS: "indent => \" \"",
},
&doc.CodecOption{
Name: "StreamArray",
Alias: "stream_array",
Doc: "Json is an array, decode each element as a distinct dataframe",
Required: false,
Type: "bool",
DefaultValue: "false",
PossibleValues: []string{},
ExampleLS: "",
},
},
},
},
Encoder: &doc.Encoder{
Doc: "",
Options: &doc.CodecOptions{
Doc: "",
Options: []*doc.CodecOption{
&doc.CodecOption{
Name: "Indent",
Alias: "indent",
Doc: "Set indentation",
Required: false,
Type: "string",
DefaultValue: "\"\"",
PossibleValues: []string{},
ExampleLS: "indent => \" \"",
},
},
},
},
}
}