jsonpointer

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pointer

type Pointer []string

func NewPointer

func NewPointer() Pointer

NewPointer creates a Pointer with a pre-allocated block of memory to avoid repeated slice expansions

func NewPointerFromPath

func NewPointerFromPath(path string) Pointer

func (Pointer) Append

func (p Pointer) Append(s string) Pointer

func (Pointer) AppendIndex

func (p Pointer) AppendIndex(i int) Pointer

func (Pointer) Equals

func (p Pointer) Equals(alt Pointer) bool

func (Pointer) HasSameAncestorsAs

func (p Pointer) HasSameAncestorsAs(alt Pointer) bool

func (Pointer) IsEmpty

func (p Pointer) IsEmpty() bool

func (Pointer) IsParentOf

func (p Pointer) IsParentOf(child Pointer) bool

func (Pointer) LessThan

func (p Pointer) LessThan(alt Pointer) (b bool)

func (Pointer) MarshalJSON

func (p Pointer) MarshalJSON() ([]byte, error)

func (Pointer) String

func (p Pointer) String() string

func (*Pointer) UnmarshalJSON

func (p *Pointer) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL