Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

golang convert json string to map

jsonMap := make(map[string]interface{})
err := json.Unmarshal([]byte(jsonStr), &jsonMap)
 
PREVIOUS NEXT
Tagged: #golang #convert #json #string #map
ADD COMMENT
Topic
Name
7+1 =