jsonw

package
v0.0.0-...-0e8a65c Latest Latest
Warning

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

Go to latest
Published: May 20, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

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

func (Error) Error

func (e Error) Error() string

========================================================================== ERROR ==========================================================================

type Wrapper

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

func NewArray

func NewArray(l int) *Wrapper

func NewBool

func NewBool(b bool) *Wrapper

func NewDictionary

func NewDictionary() *Wrapper

func NewDictionaryFromString

func NewDictionaryFromString(s string) *Wrapper

func NewFloat

func NewFloat(f float64) *Wrapper

func NewInt

func NewInt(i int) *Wrapper

func NewInt64

func NewInt64(i int64) *Wrapper

func NewNil

func NewNil() *Wrapper

func NewString

func NewString(s string) *Wrapper

func NewWrapper

func NewWrapper(i interface{}) (rd *Wrapper)

========================================================================== NEW ==========================================================================

func (*Wrapper) AtIndex

func (w *Wrapper) AtIndex(i int) *Wrapper

func (*Wrapper) AtKey

func (w *Wrapper) AtKey(s string) *Wrapper

========================================================================== AT ==========================================================================

func (*Wrapper) AtPath

func (w *Wrapper) AtPath(path string) (ret *Wrapper)

func (*Wrapper) Clear

func (w *Wrapper) Clear()

========================================================================== CLEAR ==========================================================================

func (*Wrapper) Copy

func (w *Wrapper) Copy() (*Wrapper, error)

========================================================================== COPY ==========================================================================

func (*Wrapper) Error

func (w *Wrapper) Error() (e error)

func (*Wrapper) GetBool

func (w *Wrapper) GetBool() bool

func (*Wrapper) GetDataOrNil

func (w *Wrapper) GetDataOrNil() interface{}

func (*Wrapper) GetFloat

func (w *Wrapper) GetFloat() float64

func (*Wrapper) GetInt

func (w *Wrapper) GetInt() int

func (*Wrapper) GetInt64

func (w *Wrapper) GetInt64() int64

func (*Wrapper) GetJsonPrettyString

func (w *Wrapper) GetJsonPrettyString() (string, error)

func (*Wrapper) GetJsonString

func (w *Wrapper) GetJsonString() (string, error)

========================================================================== GET ==========================================================================

func (*Wrapper) GetString

func (w *Wrapper) GetString() string

func (*Wrapper) IsBool

func (w *Wrapper) IsBool() bool

func (*Wrapper) IsEmpty

func (w *Wrapper) IsEmpty() bool

func (*Wrapper) IsExist

func (w *Wrapper) IsExist(path string) bool

func (*Wrapper) IsFloat

func (w *Wrapper) IsFloat() bool

func (*Wrapper) IsInt

func (w *Wrapper) IsInt() bool

func (*Wrapper) IsOk

func (w *Wrapper) IsOk() bool

========================================================================== IS ==========================================================================

func (*Wrapper) IsString

func (w *Wrapper) IsString() bool

func (*Wrapper) Keys

func (w *Wrapper) Keys() (v []string, err error)

========================================================================== KEYS ==========================================================================

func (*Wrapper) Len

func (w *Wrapper) Len() (ret int, err error)

========================================================================== LENGTH ==========================================================================

func (*Wrapper) SetIndex

func (w *Wrapper) SetIndex(i int, val *Wrapper) error

func (*Wrapper) SetKey

func (w *Wrapper) SetKey(s string, val *Wrapper) error

========================================================================== SET ==========================================================================

func (*Wrapper) Size

func (w *Wrapper) Size() (ret int, err error)

func (*Wrapper) ToArray

func (w *Wrapper) ToArray() (out *Wrapper, e error)

func (*Wrapper) ToDictionary

func (w *Wrapper) ToDictionary() (out *Wrapper, e error)

========================================================================== TO ==========================================================================

func (*Wrapper) ToIntArray

func (w *Wrapper) ToIntArray() ([]int, error)

func (*Wrapper) ToStringArray

func (w *Wrapper) ToStringArray() ([]string, error)

func (*Wrapper) TypeOf

func (w *Wrapper) TypeOf() string

========================================================================== TYPE ==========================================================================

Jump to

Keyboard shortcuts

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