MCPcopy Create free account
hub / github.com/dropbox/dbxcli / decodeJSONValue

Function decodeJSONValue

cmd/json_command_schema_test.go:323–331  ·  view source on GitHub ↗
(t *testing.T, data []byte)

Source from the content-addressed store, hash-verified

321}
322
323func decodeJSONValue(t *testing.T, data []byte) any {
324 t.Helper()
325
326 var value any
327 if err := json.Unmarshal(data, &value); err != nil {
328 t.Fatalf("decode JSON value: %v", err)
329 }
330 return value
331}
332
333func normalizeJSONValue(t *testing.T, value any) any {
334 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected