(Mar-16-2020, 09:13 AM)qurr Wrote: Well, um, I just need this format to complete the task. This is what the "customer" wants.
This seems a bit strange really. JSON is meant to be passed between machines, so formatting makes no difference to them. If a human wants to read it, surely they can use whatever pretty printing tools exist. If you've been told specifically to format it that way for an assignment, it sounds like emphasis is being placed on the wrong things.