DataObject
Table of contents
Interface of a data object
Create from source
func NewDataObject(tag string) DataObject
Create new data object with the tag and empty property list and return its interface
Interface description
Inherit methods from DataValue
Property(index int) DataNode
Returns a data node corresponding to a property with specific index
PropertyByTag(tag string) DataNode
Returns a data node corresponding to a property tag
PropertyCount() int
Returns properties count
PropertyObject(tag string) DataObject
Returns an object value of a property with a specific tag
PropertyValue(tag string) (string, bool)
Returns a string value of a property with a specific tag
SetPropertyObject(tag string, object DataObject)
Sets an object value of a property with a specific tag
SetPropertyValue(tag, value string)
Sets a string value of a property with a specific tag
Tag() string
Returns data object tag
ToParams() Params
Create a params(map) representation of a data object
Related global functions
func ParseDataText(text string) DataObject
Parse text and return data object