Answers for "golang json map string interface"

-1

golang convert json string to map

jsonMap := make(map[string]interface{})
err := json.Unmarshal([]byte(jsonStr), &jsonMap)
Posted by: Guest on September-29-2020
-1

map string interface golang

{
   "name":"John",
   "age":29,
   "hobbies":[
      "martial arts",
      "breakfast foods",
      "piano"
   ]
}
Posted by: Guest on March-01-2021

Code answers related to "golang json map string interface"

Browse Popular Code Answers by Language