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

Method MarshalJSONObject

encode.go:156–156  ·  view source on GitHub ↗
(enc *Encoder)

Source from the content-addressed store, hash-verified

154// MarshalerJSONObject is the interface to implement for struct to be encoded
155type MarshalerJSONObject interface {
156 MarshalJSONObject(enc *Encoder)
157 IsNil() bool
158}
159

Callers 10

encodeObjectMethod · 0.65
ObjectMethod · 0.65
ObjectWithKeysMethod · 0.65
ObjectOmitEmptyMethod · 0.65
ObjectNullEmptyMethod · 0.65
ObjectKeyMethod · 0.65
ObjectKeyWithKeysMethod · 0.65
ObjectKeyOmitEmptyMethod · 0.65
ObjectKeyNullEmptyMethod · 0.65
AddObjectMethod · 0.65

Implementers 15

Requestdecode_embedded_json_test.go
slicesTestObjectdecode_slice_test.go
TestObjEmptyencode_array_test.go
testObjectgojay_test.go
testObject0Keysgojay_test.go
testObjectComplexgojay_test.go
testObjectWithUnknownTypeencode_object_test.go
TestEncodingencode_object_test.go
SubObjectencode_object_test.go
testEncodingObjInterfacesencode_object_test.go
TestObectOmitEmptyencode_object_test.go
TestObectOmitEmptyInterfaceencode_object_test.go

Calls

no outgoing calls

Tested by

no test coverage detected