blob: 298e3e82da0ae6f40a16d467426fd1e17b984065 [file] [log] [blame]
PACKAGE
package gojsonpointer
import "github.com/sigu-399/gojsonpointer"
TYPES
type JsonPointer struct {
// contains filtered or unexported fields
}
func NewJsonPointer(jsonPointerString string) (JsonPointer, error)
func (p *JsonPointer) Get(document interface{}) (interface{}, reflect.Kind, error)
Uses the pointer to retrieve a value from a JSON document
func (p *JsonPointer) Set(document interface{}, value interface{}) (interface{}, error)
Uses the pointer to update a value from a JSON document
func (p *JsonPointer) String() string
Pointer to string representation function