| 1 | package json_testscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/ |
| 2 | |
| 3 | import ( |
| 4 | "bytesscip-go gomod github.com/golang/go/src go1.19 bytes/" |
| 5 | stdjsonscip-go gomod github.com/golang/go/src go1.19 `encoding/json`/ "encoding/jsonscip-go gomod github.com/golang/go/src go1.19 `encoding/json`/" |
| 6 | |
| 7 | "github.com/goccy/go-jsonscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/" |
| 8 | ) |
| 9 | |
| 10 | func intptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/intptr().(v int) *int { return &v } |
| 11 | func intptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/intptr3().(v int) ***int { vv := &v; vvv := &vv; return &vvv } |
| 12 | func int8ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/int8ptr().(v int8) *int8 { return &v } |
| 13 | func int8ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/int8ptr3().(v int8) ***int8 { vv := &v; vvv := &vv; return &vvv } |
| 14 | func int16ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/int16ptr().(v int16) *int16 { return &v } |
| 15 | func int16ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/int16ptr3().(v int16) ***int16 { vv := &v; vvv := &vv; return &vvv } |
| 16 | func int32ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/int32ptr().(v int32) *int32 { return &v } |
| 17 | func int32ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/int32ptr3().(v int32) ***int32 { vv := &v; vvv := &vv; return &vvv } |
| 18 | func int64ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/int64ptr().(v int64) *int64 { return &v } |
| 19 | func int64ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/int64ptr3().(v int64) ***int64 { vv := &v; vvv := &vv; return &vvv } |
| 20 | func uptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uptr().(v uint) *uint { return &v } |
| 21 | func uintptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uintptr3().(v uint) ***uint { vv := &v; vvv := &vv; return &vvv } |
| 22 | func uint8ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uint8ptr().(v uint8) *uint8 { return &v } |
| 23 | func uint8ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uint8ptr3().(v uint8) ***uint8 { vv := &v; vvv := &vv; return &vvv } |
| 24 | func uint16ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uint16ptr().(v uint16) *uint16 { return &v } |
| 25 | func uint16ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uint16ptr3().(v uint16) ***uint16 { vv := &v; vvv := &vv; return &vvv } |
| 26 | func uint32ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uint32ptr().(v uint32) *uint32 { return &v } |
| 27 | func uint32ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uint32ptr3().(v uint32) ***uint32 { vv := &v; vvv := &vv; return &vvv } |
| 28 | func uint64ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uint64ptr().(v uint64) *uint64 { return &v } |
| 29 | func uint64ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/uint64ptr3().(v uint64) ***uint64 { vv := &v; vvv := &vv; return &vvv } |
| 30 | func float32ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/float32ptr().(v float32) *float32 { return &v } |
| 31 | func float32ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/float32ptr3().(v float32) ***float32 { vv := &v; vvv := &vv; return &vvv } |
| 32 | func float64ptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/float64ptr().(v float64) *float64 { return &v } |
| 33 | func float64ptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/float64ptr3().(v float64) ***float64 { vv := &v; vvv := &vv; return &vvv } |
| 34 | func stringptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/stringptr().(v string) *string { return &v } |
| 35 | func stringptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/stringptr3().(v string) ***string { vv := &v; vvv := &vv; return &vvv } |
| 36 | func boolptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/boolptr().(v bool) *bool { return &v } |
| 37 | func boolptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/boolptr3().(v bool) ***bool { vv := &v; vvv := &vv; return &vvv } |
| 38 | func bytesptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/bytesptr().(v []byte) *[]byte { return &v } |
| 39 | func bytesptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/bytesptr3().(v []byte) ***[]byte { vv := &v; vvv := &vv; return &vvv } |
| 40 | func numberptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/numberptr().(v jsonscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/.Numberscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/Number#) *jsonscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/.Numberscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/Number# { return &v } |
| 41 | func numberptr3scip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/numberptr3().(v jsonscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/.Numberscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/Number#) ***jsonscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/.Numberscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json`/Number# { vv := &v; vvv := &vv; return &vvv } |
| 42 | func sliceptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/sliceptr().(v []int) *[]int { return &v } |
| 43 | func arrayptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/arrayptr().(v [2]int) *[2]int { return &v } |
| 44 | func mapptrscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/mapptr().(v map[string]int) *map[string]int { return &v } |
| 45 | |
| 46 | func encodeByEncodingJSONscip-go gomod github.com/goccy/go-json . `github.com/goccy/go-json/test/cover_test`/encodeByEncodingJSON().(data interface{}, indent, escape bool) string { |
| 47 | var buf bytesscip-go gomod github.com/golang/go/src go1.19 bytes/.Bufferscip-go gomod github.com/golang/go/src go1.19 bytes/Buffer# |
| 48 | enc := stdjsonscip-go gomod github.com/golang/go/src go1.19 `encoding/json`/.NewEncoderscip-go gomod github.com/golang/go/src go1.19 `encoding/json`/NewEncoder().(&buf) |
| 49 | enc.SetEscapeHTMLscip-go gomod github.com/golang/go/src go1.19 `encoding/json`/Encoder#SetEscapeHTML().(escape) |
| 50 | if indent { |
| 51 | enc.SetIndentscip-go gomod github.com/golang/go/src go1.19 `encoding/json`/Encoder#SetIndent().("", " ") |
| 52 | } |
| 53 | enc.Encodescip-go gomod github.com/golang/go/src go1.19 `encoding/json`/Encoder#Encode().(data) |
| 54 | return buf.Stringscip-go gomod github.com/golang/go/src go1.19 bytes/Buffer#String().() |
| 55 | } |