package
0.0.0-20190930134022-aa0246cd15f7
Repository: https://github.com/pquerna/ffjson.git
Documentation: pkg.go.dev
# Functions
AppendFloat appends the string form of the floating-point number f, as generated by FormatFloat.
asciiEqualFold is a specialization of bytes.EqualFold for use when s is all ASCII (but may contain non-letters) and contains no special-folding letters.
equalFoldRight is a specialization of bytes.EqualFold when s is known to be all ASCII (including punctuation), but contains an 's', 'S', 'k', or 'K', requiring a Unicode fold on the bytes in t.
DEPRECIATED: `scratch` is no longer used, FormatBits2 is available.
FormatBits2 computes the string representation of u in the given base.
NewBuffer creates and initializes a new Buffer using buf as its initial contents.
NewBufferString creates and initializes a new Buffer using string s as its initial contents.
ParseUint is like ParseInt but for unsigned numbers, and oeprating on []byte.
Send a buffer to the Pool to reuse for other instances.
simpleLetterEqualFold is a specialization of bytes.EqualFold for use when s is all ASCII letters (no underscores, etc) and also doesn't contain 'k', 'K', 's', or 'S'.
UnquoteBytes will decode []byte containing json string to go string ported from encoding/json/decode.go.
*
* Function ported from encoding/json: func (e *encodeState) string(s string) (int, error)
*/.
# Constants
TODO: improve this error.
comment tokens are not currently returned to the parser, ever */.
we differentiate between integers and doubles to allow the
* parser to interpret the number without re-scanning */.
# Variables
ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
# Structs
A Buffer is a variable-sized buffer of bytes with Read and Write methods.