go-agent: github.com/newrelic/go-agent/internal/jsonx Index | Files

package jsonx

import "github.com/newrelic/go-agent/internal/jsonx"

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

Index

Package Files

encode.go

func AppendFloat Uses

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

AppendFloat appends a numeric literal representing the value to buf.

func AppendFloatArray Uses

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

AppendFloatArray appends an array of numeric literals to buf.

func AppendInt Uses

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

AppendInt appends a numeric literal representing the value to buf.

func AppendIntArray Uses

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

AppendIntArray appends an array of numeric literals to buf.

func AppendString Uses

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

AppendString escapes s appends it to buf.

func AppendStringArray Uses

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

AppendStringArray appends an array of string literals to buf.

func AppendUint Uses

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

AppendUint appends a numeric literal representing the value to buf.

func AppendUintArray Uses

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

AppendUintArray appends an array of numeric literals to buf.

Package jsonx imports 6 packages (graph) and is imported by 10 packages. Updated 2018-12-28. Refresh now. Tools for package owners.