Help us shape the future of Go! Take the 2026 Go Developer Survey

strictjson

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package strictjson owns the strict-object decoding mechanics shared by query and report. Callers retain destination types and semantic validation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeObject

func DecodeObject(raw []byte, destination any) error

DecodeObject decodes one non-null UTF-8 JSON object into destination. It rejects recursive duplicate decoded keys, trailing data and unknown fields, preserving standard typed decoder errors and encoding/json surrogate behavior.

Types

This section is empty.

Jump to

Keyboard shortcuts

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