Answers for "golang map string interface to json"

-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 map string interface to json"

Browse Popular Code Answers by Language