parse

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(data []byte) (*node.Node, error)

Parse builds a Node tree from JSON bytes. The document is expected to be valid JSON; call Validate first.

func Validate

func Validate(data []byte) error

Validate reports whether data is valid JSON. Returns a descriptive error on failure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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