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

Method MarshalJSONObject

encode_object_test.go:79–81  ·  view source on GitHub ↗
(enc *Encoder)

Source from the content-addressed store, hash-verified

77}
78
79func (t *testEncodingObjInterfaces) MarshalJSONObject(enc *Encoder) {
80 enc.AddInterfaceKey("interfaceVal", t.interfaceVal)
81}
82
83func TestEncoderObjectEncodeAPI(t *testing.T) {
84 t.Run("encode-basic", func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

AddInterfaceKeyMethod · 0.80

Tested by

no test coverage detected