MCPcopy Create free account
hub / github.com/francoispqt/gojay / AddSliceIntKey

Method AddSliceIntKey

encode_slice.go:46–48  ·  view source on GitHub ↗

AddSliceIntKey marshals the given []int s

(k string, s []int)

Source from the content-addressed store, hash-verified

44
45// AddSliceIntKey marshals the given []int s
46func (enc *Encoder) AddSliceIntKey(k string, s []int) {
47 enc.SliceIntKey(k, s)
48}
49
50// SliceIntKey marshals the given []int s
51func (enc *Encoder) SliceIntKey(k string, s []int) {

Callers 1

MarshalJSONObjectMethod · 0.80

Calls 1

SliceIntKeyMethod · 0.95

Tested by 1

MarshalJSONObjectMethod · 0.64