you can use it transfers a map to xmp or to json or to struct, you can use it for transfer map<=>struct<=>xml its implements the sub map value edit , you can use "." to edit the sub map
//create a mapm:=New()
//set a value to mapm.Set("key","value")
//set an array to mapm.Set("array_key",[]string{"value1","value2"})
//set a value to key->sub_keym.Set("key.sub_key","value")
//get a value from mapv:=m.Get("key")
//get an array from mapv:=m.GetStringArray("array_key")
//get a value from map with defaultv:=m.GetD("key","default_value")
//marshal map to jsonv.ToJSON()
//marshal map to xmlv.ToXML()
//get the map copy with deep copyv.Clone()
//copy the value from m to vv.Join(m)
//transfer the map to map[string]interfacev.ToGoMap()
//merge all values from v to mMerge(m,v)
//transfer the struct to mapStructToMap(&strcut{/*your strcut*/})
typeStruct1struct{
Valuestring } typeStruct2struct {
S1Struct1
}
exampleWithSubMap:=StructToMap(&Struct2{})
//to get the ValueexampleWithSubMap.GetString("S1.Value")