strictjson

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package strictjson decodes JSON into Go values while rejecting unknown fields and trailing tokens. It powers metric parsers that need to fail hard on judge responses that do not match the expected shape.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeStrict

func DecodeStrict(data []byte, out any) error

DecodeStrict decodes JSON with unknown-field and trailing-token rejection.

Types

This section is empty.

Jump to

Keyboard shortcuts

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