ujson

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 3 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 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