jsonutil

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNullRawMessage

func IsNullRawMessage(raw json.RawMessage) bool

func NormalizeJSONSchemaPropertiesOrder

func NormalizeJSONSchemaPropertiesOrder(schema json.RawMessage) (json.RawMessage, error)

NormalizeJSONSchemaPropertiesOrder reorders the keys inside the top-level "properties" object to match the order of the top-level "required" array (when present).

func ReorderJSONObjectByKeys

func ReorderJSONObjectByKeys(rawObject json.RawMessage, keyOrder []string) (json.RawMessage, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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