package
Version:
v2.6.3
Opens a new window with list of versions in this module.
Published: Aug 4, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package normalize provides a a function to process a JSON input and return it in
normalized form.
Normalize takes JSON and returns normalized JSON.
Normalization includes:
- Sorting keys according to the configured importance.
- Consistent indentation.
type KeyImportanceOverride struct {
KeyImportance map[string]int
When func(key string, value interface{}) bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.