MCPcopy Create free account
hub / github.com/diillson/chatcli / rawJSONString

Function rawJSONString

cli/plugins/builtin_context.go:496–498  ·  view source on GitHub ↗

rawJSONString reads a string field from a raw map (top-level cmd lookup).

(m map[string]json.RawMessage, keys ...string)

Source from the content-addressed store, hash-verified

494
495// rawJSONString reads a string field from a raw map (top-level cmd lookup).
496func rawJSONString(m map[string]json.RawMessage, keys ...string) string {
497 return jsonString(m, keys...)
498}
499
500// contextStringSlice reads a string array OR a single string OR a
501// comma-separated string from the first matching key.

Callers 1

parseContextInvocationFunction · 0.85

Calls 1

jsonStringFunction · 0.85

Tested by

no test coverage detected