当前位置:网站首页>golang convert json string to map
golang convert json string to map
2022-06-24 23:16:00 【Great mage yunzhongjun】
a := map[string]string{
"root": "root"}
jsonstr, _ := json.Marshal(a)
log.Println(string(jsonstr))
c := map[string]string{
}
json.Unmarshal([]byte(string(jsonstr)), &c)
log.Println(c)
边栏推荐
- laravel用户授权
- Blogs personal blog project details (servlet implementation)
- 【js】-【链表-应用】-学习笔记
- Theoretical analysis of countermeasure training: adaptive step size fast countermeasure training
- 【js】-【数组、栈、队列、链表基础】-笔记
- jar中没有主清单属性
- laravel 消息队列
- OpenSSL SSL_read: Connection was reset, errno 10054
- Gocolly manual
- EMI的主要原因-工模电流
猜你喜欢

2022 safety officer-b certificate examination question bank and answers

What kind of processor architecture is ARM architecture?

【nvm】

【js】-【树】-学习笔记

Blogs personal blog project details (servlet implementation)

02_SpingBoot 入门案例

Ganglia 的安装与部署

Blogs personal blog test point (manual test)

Simulated 100 questions and online simulated examination of high voltage electrician examination in 2022

记录一下MySql update会锁定哪些范围的数据
随机推荐
Recommended course: workplace writing training
F29oc analysis
idea创建模块提示已存在
Construction equipment [4]
Laravel message queue
Recommended movies: Northeast tiger, licorice pizza
Tech Talk 活动回顾|云原生 DevOps 的 Kubernetes 技巧
The large-scale market of graduate dormitory! Here comes the enviable graduate dormitory!
03_ Spingboot core profile
Research and investment strategy report on China's bridge anticorrosive coating industry (2022 Edition)
Dig deep into MySQL - resolve the clustered index / secondary index / federated index of InnoDB storage engine
Design and implementation of spark offline development framework
Force deduction solution summary 515- find the maximum value in each tree row
Pousser l'information au format markdown vers le robot nail
Building Survey [2]
记录一下MySql update会锁定哪些范围的数据
Building Survey [1]
Laravel creates a service layer
Daily practice (22): maximum sum of continuous subarrays
01_SpingBoot 框架入门