Discover Packages
github.com/Azure/sonic-mgmt-common
translib
ocbinds
package
Version:
v0.0.0-...-5f1191e
Opens a new window with list of versions in this module.
Published: Apr 24, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
EmitJSON serializes a GoStruct s into RFC7951 json.
GetSchema is equivalent of the Schema function, but avoids
UnzipSchema call. Reuses the SchemaTree loaded during init.
type EmitJSONOptions struct {
NoPrefix bool
SortList bool
}
Values represents a sequence of reflect.Value objects.
SortedMap returns map values sorted by its key. Integer keys (both signed and unsigned)
are sorted by numerical order. String keys are sorted by natural order. Other keys are
converted to string using fmt.Sprintf("%v", k) and sorted.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.