MCPcopy
hub / github.com/safing/portmaster / JSONBytesAccessor

Struct JSONBytesAccessor

base/database/accessor/accessor-json-bytes.go:9–11  ·  view source on GitHub ↗

JSONBytesAccessor is a json string with get functions.

Source from the content-addressed store, hash-verified

7
8// JSONBytesAccessor is a json string with get functions.
9type JSONBytesAccessor struct {
10 json *[]byte
11}
12
13// NewJSONBytesAccessor adds the Accessor interface to a JSON bytes string.
14func NewJSONBytesAccessor(json *[]byte) *JSONBytesAccessor {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected