jsondocument

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package jsondocument strictly decodes one JSON document for specs packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(data []byte) (any, error)

Decode decodes exactly one JSON value and rejects duplicate object keys.

func Into

func Into[T any](document any) (*T, error)

Into converts a decoded JSON document into a typed value.

Types

This section is empty.

Jump to

Keyboard shortcuts

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