xjson

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

...

Functions

func Minify added in v0.0.5

func Minify(v interface{}) string

Minify ...

func Pretty added in v0.0.5

func Pretty(v interface{}) string

Pretty ...

Types

type JSON added in v0.0.5

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

JSON ...

func New

func New(s string) *JSON

New ...

func (*JSON) Index added in v0.0.5

func (j *JSON) Index(index int) *JSON

Index ...

func (*JSON) Key added in v0.0.5

func (j *JSON) Key(key string) *JSON

Key ...

func (*JSON) ToInt64 added in v0.0.6

func (j *JSON) ToInt64() int64

ToInt ...

func (*JSON) ToJSON added in v0.0.5

func (j *JSON) ToJSON() string

ToJSON ...

func (*JSON) ToMap added in v0.0.6

func (j *JSON) ToMap() map[string]interface{}

ToMap ...

func (*JSON) ToSlice added in v0.0.6

func (j *JSON) ToSlice() []interface{}

ToSlice ...

func (*JSON) ToString added in v0.0.5

func (j *JSON) ToString() string

ToString ...

func (*JSON) Value added in v0.0.5

func (j *JSON) Value() interface{}

Value ...

Jump to

Keyboard shortcuts

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