Documentation ¶
Index ¶
- func Any(in []byte, pos int) (int, error)
- func Array(in []byte, pos int) (int, error)
- func AsArray(in []byte, pos int) ([][]byte, error)
- func Boolean(in []byte, pos int) (int, error)
- func FindFrom(in []byte, pos, from int) ([]byte, error)
- func FindIndex(in []byte, pos, index int) ([]byte, error)
- func FindKey(in []byte, pos int, k []byte) ([]byte, error)
- func FindRange(in []byte, pos, from, to int) ([]byte, error)
- func FindTo(in []byte, pos, to int) ([]byte, error)
- func Null(in []byte, pos int) (int, error)
- func Number(in []byte, pos int) (int, error)
- func Object(in []byte, pos int) (int, error)
- func String(in []byte, pos int) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Any ¶
Any returns the position of the end of the current element that begins at pos; handles any valid json element
func Array ¶
Array returns the position of the end of the array that begins at the position specified
func AsArray ¶
AsArray accepts an []byte encoded json array as an input and returns the array's elements
func FindIndex ¶
FindIndex accepts a JSON array and return the value of the element at the specified index
func FindKey ¶
FindKey accepts a JSON object and returns the value associated with the key specified
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.