gojsonpointer: github.com/xeipuuv/gojsonpointer Index | Files

package gojsonpointer

import "github.com/xeipuuv/gojsonpointer"

Index

Package Files

pointer.go

type JsonPointer Uses

type JsonPointer struct {
    // contains filtered or unexported fields
}

func NewJsonPointer Uses

func NewJsonPointer(jsonPointerString string) (p JsonPointer, err error)

NewJsonPointer parses the given string JSON pointer and returns an object

func (*JsonPointer) Delete Uses

func (p *JsonPointer) Delete(document interface{}) (interface{}, error)

Uses the pointer to delete a value from a JSON document

func (*JsonPointer) Get Uses

func (p *JsonPointer) Get(document interface{}) (interface{}, reflect.Kind, error)

Uses the pointer to retrieve a value from a JSON document

func (*JsonPointer) Set Uses

func (p *JsonPointer) Set(document interface{}, value interface{}) (interface{}, error)

Uses the pointer to update a value from a JSON document

func (*JsonPointer) String Uses

func (p *JsonPointer) String() string

Pointer to string representation function

Package gojsonpointer imports 5 packages (graph) and is imported by 9 packages. Updated 2018-01-31. Refresh now. Tools for package owners.