Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnmarshalToOrderJson ¶
解析json字符串为 []MapSlice or MapSlice, 分别对应数组和对象.
Types ¶
type MapSlice ¶
type MapSlice []MapItem
MapSlice encodes and decodes as a JSON map. The order of keys is preserved when encoding and decoding. Just like yaml.MapSlice
func (MapSlice) MarshalJSON ¶
func (*MapSlice) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.