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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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