jsonobj

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package jsonobj decodes a JSON object strictly: a member named twice is an error, not a value the last occurrence silently wins. JSON parsers disagree on such input, so accepting it lets two parties read one document differently.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Members

func Members(data []byte) (map[string]json.RawMessage, error)

Members returns the members of the JSON object data, refusing anything but one object — including one that names a member twice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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