array

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: CC0-1.0, CC0-1.0, MIT Imports: 11 Imported by: 1

Documentation

Overview

Package array implements an interface slice data structure that produces JSON as its string/byte string output.

Note that strings found in the object are automatically escaped as per RFC8259 with a function that avoids more than one memory allocation for the buffer rewrite.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type T

type T []interface{}

func (T) Buffer

func (t T) Buffer() *bytes.Buffer

func (T) Bytes

func (t T) Bytes() []byte

func (T) MarshalJSON

func (t T) MarshalJSON() (b []byte, err error)

func (T) String

func (t T) String() string

Jump to

Keyboard shortcuts

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