I'm using the built in JSON package with Flex 4.6, how do you get it to nicely format the output, e.g. indent with 4 spaces, put each object on a new line etc.?
Flex : how to pretty print JSON.stringify?
Asked Answered
I don't understand what output you are trying to format. –
Photopia
The last param is used to insert spaces:
JSON.stringify(object, null, 4);
© 2022 - 2024 — McMap. All rights reserved.