json

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2018 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Overview

Package json contains the implementation of a JSON parser.

Index

Constants

This section is empty.

Variables

View Source
var ErrUnquote = fmt.Errorf("json: error unquoting string")

ErrUnquote returns an error that resulted from trying to unquote a string.

Functions

This section is empty.

Types

type JsonParser

type JsonParser interface {
	parser.Interface
	//Init initialises the parser with a byte buffer containing JSON.
	Init(buf []byte) error
	Reset() error
}

JsonParser is a parser for JSON

func NewJsonParser

func NewJsonParser() JsonParser

NewJsonParser returns a new JSON parser.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL