MCPcopy Create free account
hub / github.com/openclaw/gogcli / Decode

Function Decode

internal/sheetsvalues/values.go:37–44  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

35}
36
37func Decode(data []byte) ([][]interface{}, error) {
38 var values [][]interface{}
39 if err := json.Unmarshal(data, &values); err != nil {
40 return nil, invalidf("invalid JSON values: %v", err)
41 }
42
43 return values, nil
44}
45
46func ParseArgs(values []string) [][]interface{} {
47 rawValues := strings.Join(values, " ")

Callers 3

RunMethod · 0.92
parseSheetsAppendValuesFunction · 0.92

Calls 1

invalidfFunction · 0.70

Tested by 1