json

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToStdFloat64Slice

func ConvertToStdFloat64Slice(s []Float64) []float64

func ConvertToStdInt64Slice

func ConvertToStdInt64Slice(s []Int64) []int64

func ConvertToStdIntSlice

func ConvertToStdIntSlice(s []Int) []int

func ConvertToStdUint64Slice

func ConvertToStdUint64Slice(s []Uint64) []uint64

func ConvertToStdUintSlice

func ConvertToStdUintSlice(s []Uint) []uint

Types

type Float64

type Float64 float64

func ConvertToFloat64Slice

func ConvertToFloat64Slice(s []float64) []Float64

func (Float64) MarshalJSON

func (x Float64) MarshalJSON() (data []byte, err error)

func (*Float64) UnmarshalJSON

func (x *Float64) UnmarshalJSON(data []byte) (err error)

type Int

type Int int

func ConvertToIntSlice

func ConvertToIntSlice(s []int) []Int

func (Int) MarshalJSON

func (x Int) MarshalJSON() (data []byte, err error)

func (*Int) UnmarshalJSON

func (x *Int) UnmarshalJSON(data []byte) (err error)

type Int64

type Int64 int64

func ConvertToInt64Slice

func ConvertToInt64Slice(s []int64) []Int64

func (Int64) MarshalJSON

func (x Int64) MarshalJSON() (data []byte, err error)

func (*Int64) UnmarshalJSON

func (x *Int64) UnmarshalJSON(data []byte) (err error)

type Uint

type Uint uint

func ConvertToUintSlice

func ConvertToUintSlice(s []uint) []Uint

func (Uint) MarshalJSON

func (x Uint) MarshalJSON() (data []byte, err error)

func (*Uint) UnmarshalJSON

func (x *Uint) UnmarshalJSON(data []byte) (err error)

type Uint64

type Uint64 uint64

func ConvertToUint64Slice

func ConvertToUint64Slice(s []uint64) []Uint64

func (Uint64) MarshalJSON

func (x Uint64) MarshalJSON() (data []byte, err error)

func (*Uint64) UnmarshalJSON

func (x *Uint64) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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