const emptyPointer …
const pointerSeparator …
const invalidStart …
const notFound …
var jsonPointableType …
var jsonSetableType …
type JSONPointable …
type JSONSetable …
func New(jsonPointerString string) (Pointer, error) { … }
type Pointer …
func (p *Pointer) parse(jsonPointerString string) error { … }
func (p *Pointer) Get(document any) (any, reflect.Kind, error) { … }
func (p *Pointer) Set(document any, value any) (any, error) { … }
func GetForToken(document any, decodedToken string) (any, reflect.Kind, error) { … }
func SetForToken(document any, decodedToken string, value any) (any, error) { … }
func isNil(input any) bool { … }
func getSingleImpl(node any, decodedToken string, nameProvider *swag.NameProvider) (any, reflect.Kind, error) { … }
func setSingleImpl(node, data any, decodedToken string, nameProvider *swag.NameProvider) error { … }
func (p *Pointer) get(node any, nameProvider *swag.NameProvider) (any, reflect.Kind, error) { … }
func (p *Pointer) set(node, data any, nameProvider *swag.NameProvider) error { … }
func (p *Pointer) DecodedTokens() []string { … }
func (p *Pointer) IsEmpty() bool { … }
func (p *Pointer) String() string { … }
func (p *Pointer) Offset(document string) (int64, error) { … }
func offsetSingleObject(dec *json.Decoder, decodedToken string) (int64, error) { … }
func offsetSingleArray(dec *json.Decoder, decodedToken string) (int64, error) { … }
func drainSingle(dec *json.Decoder) error { … }
const encRefTok0 …
const encRefTok1 …
const decRefTok0 …
const decRefTok1 …
func Unescape(token string) string { … }
func Escape(token string) string { … }