Documentation
¶
Index ¶
- Variables
- func Release(vec *Vector)
- func ReleaseNC(vec *Vector)
- func Unescape(p []byte) []byte
- type Helper
- type Pool
- type Vector
- func (vec *Vector) Parse(s []byte) error
- func (vec *Vector) ParseCopy(s []byte) error
- func (vec *Vector) ParseCopyStr(s string) error
- func (vec *Vector) ParseCopyString(s string) error
- func (vec *Vector) ParseFile(path string) error
- func (vec *Vector) ParseReader(r io.Reader) error
- func (vec *Vector) ParseStr(s string) error
- func (vec *Vector) ParseString(s string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedType = errors.New("unsupported type")
)
Functions ¶
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool represents JSON vectors pool.
type Vector ¶
Vector represents URL parser.
func (*Vector) ParseCopyStr ¶
ParseCopyStr copies source string and parse it. DEPRECATED: use ParseCopyString instead.
func (*Vector) ParseCopyString ¶ added in v1.2.7
ParseCopyString copies source string and parse it.
func (*Vector) ParseReader ¶ added in v1.2.6
ParseReader reads source from r and parse it.
func (*Vector) ParseString ¶ added in v1.2.7
ParseString parses source string.
Click to show internal directories.
Click to hide internal directories.