jsonart

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 4 Imported by: 0

README

nbdnt_jsonart

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NULL = null(0)

Functions

This section is empty.

Types

type Value

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

func NewValue

func NewValue() *Value

func Unmarshal

func Unmarshal(data []byte) (value *Value, err error)

func (*Value) AddElement

func (v *Value) AddElement() *Value

func (*Value) AddField

func (v *Value) AddField(key string) *Value

func (*Value) Array

func (v *Value) Array() []*Value

func (*Value) AsArray

func (v *Value) AsArray(value []*Value)

func (*Value) AsBool

func (v *Value) AsBool(ok bool)

func (*Value) AsFloat

func (v *Value) AsFloat(value float64)

func (*Value) AsInt

func (v *Value) AsInt(value int64)

func (*Value) AsNull

func (v *Value) AsNull()

func (*Value) AsObject

func (v *Value) AsObject(value map[string]*Value)

func (*Value) AsString

func (v *Value) AsString(value string)

func (*Value) Ensure

func (v *Value) Ensure(path ...string) *Value

func (*Value) Float

func (v *Value) Float() float64

func (*Value) Get

func (v *Value) Get(path ...string) *Value

func (*Value) Int

func (v *Value) Int() int64

func (*Value) IsArray

func (v *Value) IsArray() bool

func (*Value) IsBool

func (v *Value) IsBool() bool

func (*Value) IsFalse

func (v *Value) IsFalse() bool

func (*Value) IsInt

func (v *Value) IsInt() bool

func (*Value) IsNull

func (v *Value) IsNull() bool

func (*Value) IsNumber

func (v *Value) IsNumber() bool

func (*Value) IsObject

func (v *Value) IsObject() bool

func (*Value) IsString

func (v *Value) IsString() bool

func (*Value) IsTrue

func (v *Value) IsTrue() bool

func (*Value) Object

func (v *Value) Object() map[string]*Value

func (*Value) String

func (v *Value) String() string

func (*Value) Value

func (v *Value) Value() interface{}

Jump to

Keyboard shortcuts

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