jjson

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: Unlicense Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(r io.Reader, v any) error

func Encode

func Encode(w io.Writer, v any) error

func GetBuf

func GetBuf() *bytebufferpool.ByteBuffer

GetBuf returns a buffer from the pool or creates a new one

func Marshal

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

func MarshalAndEncode

func MarshalAndEncode(w io.Writer, v any) error

func PutBuf

func PutBuf(buf *bytebufferpool.ByteBuffer)

PutBuf puts back a given buffer to the pool

func Unmarshal

func Unmarshal(xs []byte, v any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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