parse

package
v0.0.0-...-0eb1d6e Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

type Node struct {
	Name     string
	Type     Type
	ObjDepth int
	ArrDepth int
}

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func (Parser) Parse

func (p Parser) Parse(input string) ([]*Node, error)

type Type

type Type uint
const (
	Object Type = iota
	Array
	String
	Number
	Bool
	Null
)

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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