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

Method String

pointer.go:109–115  ·  view source on GitHub ↗

String representation of a pointer.

()

Source from the content-addressed store, hash-verified

107
108// String representation of a pointer.
109func (p *Pointer) String() string {
110 if len(p.referenceTokens) == 0 {
111 return emptyPointer
112 }
113
114 return pointerSeparator + strings.Join(p.referenceTokens, pointerSeparator)
115}
116
117// Offset returns the byte offset, in the raw JSON text of document, of the location referenced by
118// this pointer's terminal token.

Callers 3

ExampleNewFunction · 0.80
TestOtherThingsFunction · 0.80
TestDashToken_RoundTripFunction · 0.80

Calls

no outgoing calls

Tested by 3

ExampleNewFunction · 0.64
TestOtherThingsFunction · 0.64
TestDashToken_RoundTripFunction · 0.64