type keyvalue map[string]string var keyvalueslice []keyvalue for _, v := range Map { var m1 []keyvalue if err := json.Unmarshal([]byte(v), &m1); err != nil { log.Print(err) } for _, obj := range m1 { keyvalueslice = append(keyvalueslice, obj) } } b, _ := json.Marshal(keyvalueslice)
$ svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm $ cd llvm/tools $ svn co http://llvm.org/svn/llvm-project/cfe/trunk clang $ svn co https://llvm.org/svn/llvm-project/lld/trunk/ lld $ svn co https://llvm.org/svn/llvm-project/lldb/trunk/ lldb $ cd clang/tools $ svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra $ cd ../../../projects/ $ svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt $ svn co https://llvm.org/svn/llvm-project/openmp/trunk/ openmp $ svn co https://llvm.org/svn/llvm-project/libcxx/trunk/ libcxx $ svn co https://llvm.org/svn/llvm-project/libcxxabi/trunk/ libcxxabi $ svn co https://llvm.org/svn/llvm-project/libunwind/trunk/ libunwind $ cd ..