What is the correct way to represent this structure in JSON
Its Array of strings, with identifiers (A is identifier Printer is the array item)
then there is nested list of strings, with identifiers
A Printer
A0010 Not printing
A0020 Out of ink
A0030 No power
A0040 Noise
A0300 Feedback
A0500 Other
B PC Issues
B0010 No power
B0020 BSOD
B0030 Virus related
B0300 Feedback
B0500 Other
Thank you for your help
2
Answers
Does this work making it easy for you to filter for things?
you can use Object.keys to find the corresponding message
I’m not totally sure what you mean by identifier unless you mean via javascript 👇