You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also on windows you fail to provide the proper line mechanics making me use non native windows notepad to edit the file. \r\n is the proper format or get it dynamically from the system.
The text was updated successfully, but these errors were encountered:
jredfox
changed the title
Pretty Print Not Proper Algorithm
Pretty Print Not Proper Printing Algorithm
Mar 7, 2019
Again the JSONFormatter class has methods that allow for customizing the pretty print output. In case of line break mechanics you can set it to use windows line breaks with the setUseCRLF method inside the JSONFormatter. you can also use methods like setIndent to determine the indent and setUseTabs to set wether the indent should use tabs or spaces.
I will close this issue as it really isnt an issue.
Pretty print doesn't look right when outputted compared to test against gson https://github.com/google/gson and https://jsoneditoronline.org/
Also on windows you fail to provide the proper line mechanics making me use non native windows notepad to edit the file. \r\n is the proper format or get it dynamically from the system.
The text was updated successfully, but these errors were encountered: