astjson

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JsonNode

type JsonNode json.Node

func FromJsonRoot

func FromJsonRoot(n json.Node) JsonNode

func (JsonNode) KeyLineCol

func (n JsonNode) KeyLineCol(source io.ReadSeeker) (int, int, string)

func (JsonNode) KeyValueMap

func (n JsonNode) KeyValueMap() (map[string]astnode.AstNode, bool)

func (JsonNode) LiteralValue

func (n JsonNode) LiteralValue() interface{}

func (JsonNode) SliceChild

func (n JsonNode) SliceChild(index int) (astnode.AstNode, bool)

func (JsonNode) Tag

func (n JsonNode) Tag() string

func (JsonNode) ValueLineCol

func (n JsonNode) ValueLineCol(source io.ReadSeeker) (int, int, string)

Jump to

Keyboard shortcuts

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