ujson

package
v0.2.27 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: MIT Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalLowerCase added in v0.1.74

func MarshalLowerCase(v any) (bytes []byte, err error)

func ToLowerCase added in v0.1.74

func ToLowerCase(j []byte)

Types

type Duration added in v0.1.86

type Duration time.Duration

func (Duration) Std added in v0.1.86

func (o Duration) Std() time.Duration

func (*Duration) UnmarshalJSON added in v0.1.86

func (o *Duration) UnmarshalJSON(b []byte) error

type Float64 added in v0.2.16

type Float64 float64

func (Float64) MarshalJSON added in v0.2.16

func (o Float64) MarshalJSON() ([]byte, error)

func (*Float64) UnmarshalJSON added in v0.2.16

func (o *Float64) UnmarshalJSON(b []byte) error

func (Float64) Value added in v0.2.16

func (o Float64) Value() float64

type Int64 added in v0.2.16

type Int64 float64

func (Int64) MarshalJSON added in v0.2.16

func (o Int64) MarshalJSON() ([]byte, error)

func (*Int64) UnmarshalJSON added in v0.2.16

func (o *Int64) UnmarshalJSON(b []byte) error

func (Int64) Value added in v0.2.16

func (o Int64) Value() int64

type Optional added in v0.1.85

type Optional[T any] struct {
	Has   bool
	Value *T
}

func (*Optional[T]) UnmarshalJSON added in v0.1.85

func (o *Optional[T]) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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