MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / parse

Function parse

channels/channelmapper_test.go:26–30  ·  view source on GitHub ↗
(t testing.TB, jsonStr string)

Source from the content-addressed store, hash-verified

24}
25
26func parse(t testing.TB, jsonStr string) map[string]interface{} {
27 var parsed map[string]interface{}
28 require.NoError(t, base.JSONUnmarshal([]byte(jsonStr), &parsed))
29 return parsed
30}
31
32func emptyMetaMap() map[string]interface{} {
33 return map[string]interface{}{

Calls 1

JSONUnmarshalFunction · 0.92

Tested by

no test coverage detected