json.Unmarshal returning blank structure
问题 I have a JSON blob that looks like this { \"metadata\":{ \"id\":\"2377f625-619b-4e20-90af-9a6cbfb80040\", \"from\":\"2014-12-30T07:23:42.000Z\", \"to\":\"2015-01-14T05:11:51.000Z\", \"entryCount\":801, \"size\":821472, \"deprecated\":false }, \"status\":[{ \"node_id\":\"de713614-be3d-4c39-a3f8-1154957e46a6\", \"status\":\"PUBLISHED\" }] } and I have a little code to transform that back into go structs type Status struct { status string node_id string } type Meta struct { to string from string