std

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: GPL-3.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayNode

type ArrayNode []json.Node

func (*ArrayNode) Append

func (o *ArrayNode) Append(v json.Node)

func (*ArrayNode) Index

func (o *ArrayNode) Index(i int) json.Node

func (*ArrayNode) Len

func (o *ArrayNode) Len() int

func (*ArrayNode) ToJSON added in v0.1.2

func (o *ArrayNode) ToJSON() string

type BooleanNode

type BooleanNode struct {
	Value bool
}

func (BooleanNode) ToJSON added in v0.1.2

func (o BooleanNode) ToJSON() string

type Factory

type Factory struct{}

func (*Factory) Fill added in v0.1.2

func (f *Factory) Fill(n json.Node, value any)

func (*Factory) Produce added in v0.1.2

func (f *Factory) Produce(typ json.NodeType) (json.Node, error)

type NullNode

type NullNode struct{}

func (NullNode) ToJSON added in v0.1.2

func (o NullNode) ToJSON() string

type NumberNode

type NumberNode struct {
	Value float64
}

func (*NumberNode) ToJSON added in v0.1.2

func (o *NumberNode) ToJSON() string

type ObjectNode

type ObjectNode map[string]json.Node

func (ObjectNode) Get added in v0.1.2

func (o ObjectNode) Get(k string) (json.Node, bool)

func (ObjectNode) Set added in v0.1.2

func (o ObjectNode) Set(k string, v json.Node)

func (ObjectNode) ToJSON added in v0.1.2

func (o ObjectNode) ToJSON() string

type StringNode

type StringNode struct {
	Value string
}

func (*StringNode) ToJSON added in v0.1.2

func (o *StringNode) ToJSON() string

Jump to

Keyboard shortcuts

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