MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / InsertKeyJSON

Function InsertKeyJSON

server/util.go:166–177  ·  view source on GitHub ↗

___________________________________________________________________________________ InsertKeyJSON inserts a new JSON field/key with a given value to an existing JSON message. An error is returned if any serialization operation fails. NOTE: The ordering of the keys returned as the resulting JSON mes

(cdc *codec.Codec, baseJSON []byte, key string, value json.RawMessage)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

UnmarshalJSONMethod · 0.45

Tested by

no test coverage detected