jsonx

package
v3.18.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package jsonx extends the encoding/json package to encode JSON incrementally and without requiring reflection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFloat

func AppendFloat(buf *bytes.Buffer, x float64) error

AppendFloat appends a numeric literal representing the value to buf.

func AppendFloatArray

func AppendFloatArray(buf *bytes.Buffer, a ...float64) error

AppendFloatArray appends an array of numeric literals to buf.

func AppendInt

func AppendInt(buf *bytes.Buffer, x int64)

AppendInt appends a numeric literal representing the value to buf.

func AppendIntArray

func AppendIntArray(buf *bytes.Buffer, a ...int64)

AppendIntArray appends an array of numeric literals to buf.

func AppendString

func AppendString(buf *bytes.Buffer, s string)

AppendString escapes s appends it to buf.

func AppendStringArray

func AppendStringArray(buf *bytes.Buffer, a ...string)

AppendStringArray appends an array of string literals to buf.

func AppendUint

func AppendUint(buf *bytes.Buffer, x uint64)

AppendUint appends a numeric literal representing the value to buf.

func AppendUintArray

func AppendUintArray(buf *bytes.Buffer, a ...uint64)

AppendUintArray appends an array of numeric literals to buf.

Types

This section is empty.

Jump to

Keyboard shortcuts

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