MCPcopy Create free account
hub / github.com/blues/note / reflectValue

Method reflectValue

jsonxt/encode.go:334–336  ·  view source on GitHub ↗
(v reflect.Value, opts encOpts)

Source from the content-addressed store, hash-verified

332}
333
334func (e *encodeState) reflectValue(v reflect.Value, opts encOpts) {
335 valueEncoder(v)(e, v, opts)
336}
337
338type encOpts struct {
339 // quoted causes primitive fields to be encoded inside JSON strings.

Callers 2

marshalMethod · 0.95
interfaceEncoderFunction · 0.80

Calls 1

valueEncoderFunction · 0.85

Tested by

no test coverage detected