MCPcopy Create free account
hub / github.com/postgres-ai/database-lab-engine / NewSoftJSON

Function NewSoftJSON

engine/pkg/util/projection/json.go:14–16  ·  view source on GitHub ↗

NewSoftJSON creates a new JSON accessor.

(root map[string]interface{})

Source from the content-addressed store, hash-verified

12
13// NewSoftJSON creates a new JSON accessor.
14func NewSoftJSON(root map[string]interface{}) Accessor {
15 return &softJSON{root: root}
16}
17
18func (s *softJSON) Set(field FieldSet) error {
19 parent := s.root

Callers 2

LoadJSONFunction · 0.85
StoreJSONFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected