sonnet

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() json.Json

Types

type Sonnet

type Sonnet struct{}

func (Sonnet) Indent

func (Sonnet) Indent(dst *bytes.Buffer, src []byte, prefix string, indent string) error

func (Sonnet) Marshal

func (Sonnet) Marshal(v any) ([]byte, error)

func (Sonnet) MarshalIndent

func (Sonnet) MarshalIndent(v any, prefix string, indent string) ([]byte, error)

func (Sonnet) NewDecoder

func (Sonnet) NewDecoder(r io.Reader) json.Decoder

func (Sonnet) NewEncoder

func (Sonnet) NewEncoder(w io.Writer) json.Encoder

func (Sonnet) Unmarshal

func (Sonnet) Unmarshal(buf []byte, v any) error

Jump to

Keyboard shortcuts

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