Okay, I was attempting to develop a tool to parse JSON information. The problem I ran into was that there are many nested objects in this.
The objects look somethig like this {metadata: foo; cases: {caseNumber: 12345678; symptom: blah; customer: {name: John Doe; phone: 5555555555}}; numcases: x}
I was wondering how I could get this to unmarshal correctly. Do I need to create a struct for every nested object or is there a way I can dump a section to an array or hash map?
Also, I do have the number of cases available in the metadata for me if I need to know that to parse but if there was a good way to push it through to objects without knowing that would be easier than parsing twice.