Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var B64 = base64.StdEncoding.EncodeToString
B64 is an alias for the function encoding a byte array to a Base64 string
Functions ¶
func BuildTree ¶
func BuildTree(values []*devicechange.PathValue, jsonRFC7951 bool) ([]byte, error)
BuildTree is a function that takes an ordered array of ConfigValues and produces a structured formatted JSON tree For YANG the only type of float value is deicmal, which is represented as a string - therefore all float value must be string in JSON Same with int64 and uin64 as per RFC 7951
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.