MCPcopy Create free account
hub / github.com/pquerna/ffjson / Foo

Struct Foo

tests/encode_test.go:236–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234
235func TestIssue6458(t *testing.T) {
236 type Foo struct {
237 M json.RawMessage
238 }
239 x := Foo{json.RawMessage(`"foo"`)}
240
241 b, err := json.Marshal(&x)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected