Documentation ¶
Overview ¶
Package jsonx extends the encoding/json package to encode JSON incrementally and without requiring reflection.
Index ¶
- func AppendFloat(buf *bytes.Buffer, x float64) error
- func AppendFloatArray(buf *bytes.Buffer, a ...float64) error
- func AppendInt(buf *bytes.Buffer, x int64)
- func AppendIntArray(buf *bytes.Buffer, a ...int64)
- func AppendString(buf *bytes.Buffer, s string)
- func AppendStringArray(buf *bytes.Buffer, a ...string)
- func AppendUint(buf *bytes.Buffer, x uint64)
- func AppendUintArray(buf *bytes.Buffer, a ...uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFloat ¶
AppendFloat appends a numeric literal representing the value to buf.
func AppendFloatArray ¶
AppendFloatArray appends an array of numeric literals to buf.
func AppendIntArray ¶
AppendIntArray appends an array of numeric literals to buf.
func AppendString ¶
AppendString escapes s appends it to buf.
func AppendStringArray ¶
AppendStringArray appends an array of string literals to buf.
func AppendUint ¶
AppendUint appends a numeric literal representing the value to buf.
func AppendUintArray ¶
AppendUintArray appends an array of numeric literals to buf.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.