array

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: GPL-2.0, MIT Imports: 8 Imported by: 0

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