Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindString ¶
func BindString(treeList []*TreeStruct, buffer *Buffer) int
* * 序列化tree:[{"test":[{"params":[{"name":"name1"},{"key":"value"},{"count":{"value":"www"}}]},{"params":[{"name":"name2"},{"key":"value"}]}]}]
func DefaultBindStruct ¶
func DefaultBindStruct(treeList []*TreeStruct, obj interface{}) []interface{}
func DefaultUnBind ¶
func DefaultUnBind(obj Binder) []*TreeStruct
Types ¶
type Array ¶
type Array struct {
// contains filtered or unexported fields
}
func ArrayInterface ¶
func ArrayInterface() *Array
type Binder ¶
type Binder interface { /** * bind the tree list to object data */ Bind(treeList []*TreeStruct) UnBind() []*TreeStruct GetValue() interface{} }
type String ¶
type String struct {
// contains filtered or unexported fields
}
func StrigInstance ¶
func StrigInstance() *String
Click to show internal directories.
Click to hide internal directories.