Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Node ¶
type Node struct {
// The type of the current node. Can be a string, number, boolean, struct
Type NodeType `json:"type" yaml:"type"`
// The name of field. Anonymous field is not considered
FieldName string `json:"field_name" yaml:"field_name"`
// In case the type is a string or a number or a boolean, value will be set here.
ConcreteValue string `json:"concrete_value" yaml:"concrete_value"`
// In case the type is a struct, then it will contain an array of node.
Nodes []*Node `json:"nodes" yaml:"nodes"`
}
Click to show internal directories.
Click to hide internal directories.