jsonop

package
v0.5.10 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decoder

func Decoder() error

Decoder は、json.NewDecoder を使ったサンプルです.

func Encoder

func Encoder() error

Encoder は、json.Encoder を使ったサンプルです.

func MarshalDateCustom

func MarshalDateCustom() error

MarshalDateCustom は、json.Marshal にて 独自の日付形式 を利用するサンプルです.

func MarshalDateRfc3339

func MarshalDateRfc3339() error

MarshalDateRfc3339 は、RFC3339形式の日付を json.Marshal するサンプルです.

func MarshalIndent

func MarshalIndent() error

MarshalIndent は、json.MarshalIndent() を利用したサンプルです.

func MarshalMap

func MarshalMap() error

MarshalMap は、json.Marshal() で マップ をマーシャルした場合のサンプルです.

func MarshalNonIndent

func MarshalNonIndent() error

MarshalNonIndent は、json.Marshal() を利用したサンプルです.

func MarshalSlice

func MarshalSlice() error

MarshalSlice は、json.Marshal() で スライス をマーシャルした場合のサンプルです.

func NewRegister

func NewRegister() mapping.Register

func UnmarshalDateCustom

func UnmarshalDateCustom() error

UnmarshalDateCustom は、独自の日付文字列 を json.Unmarshal した場合のサンプルです.

func UnmarshalDateRfc3339

func UnmarshalDateRfc3339() error

UnmarshalDateRfc3339 は、RFC3339形式の日付文字列 を json.Unmarshal した場合のサンプルです.

func UnmarshalMap

func UnmarshalMap() error

UnmarshalMap は、json マップ を json.Unmarshal した場合のサンプルです.

func UnmarshalSlice

func UnmarshalSlice() error

UnmarshalSlice は、json 配列 を json.Unmarshal した場合のサンプルです.

func UnmarshalStruct

func UnmarshalStruct() error

UnmarshalStruct は、json.Unmarshal() を利用したサンプルです.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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