How to create a nested array of objects from flat array of objects?
问题 I am still learning and need some guidance on how to form a complex nested array of objects from a JSON flat file. Here is the current input: [ {"id":"US-AL","state":"Alabama","industry":"All","category":"Cable Related Services","itemid":"12290","item":"Basic Cable Services","answer":"Exempt","explanation":"The sale of these services is not subject to sales tax.","citation":"Ala. Code sec. 40-23-1; Ala. Code sec. 40-23-2"}, {"id":"US-AL","state":"Alabama","industry":"All","category":"Cable