MCPcopy Create free account
hub / github.com/araddon/qlbridge / NewJsonValue

Function NewJsonValue

value/value.go:909–911  ·  view source on GitHub ↗
(v json.RawMessage)

Source from the content-addressed store, hash-verified

907func (m StructValue) ToString() string { return fmt.Sprintf("%v", m.v) }
908
909func NewJsonValue(v json.RawMessage) JsonValue {
910 return JsonValue{v: v}
911}
912
913func (m JsonValue) Nil() bool { return m.v == nil }
914func (m JsonValue) Err() bool { return false }

Callers 3

NewValueFunction · 0.85
value_test.goFile · 0.85
TestEqualFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestEqualFunction · 0.68