MCPcopy Index your code
hub / github.com/go-openapi/jsonpointer / testDocumentJSON

Function testDocumentJSON

testdata_test.go:17–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15var testDocumentJSONBytes []byte
16
17func testDocumentJSON(t *testing.T) any {
18 t.Helper()
19
20 var document any
21 require.NoError(t, json.Unmarshal(testDocumentJSONBytes, &document))
22
23 return document
24}
25
26func testStructJSONDoc(t *testing.T) testStructJSON {
27 t.Helper()

Callers 9

TestEscapingFunction · 0.85
TestFullDocumentFunction · 0.85
TestGetSingleFunction · 0.85
TestGetNodeFunction · 0.85
TestArrayFunction · 0.85
TestOtherThingsFunction · 0.85
extractFooKeyIndexFunction · 0.85
TestObjectFunction · 0.85
TestEdgeCasesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…