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
I was wondering would it be possible to pretty print "invalid/broken" JSON? My use case is that I have partial json file which is valid from the begining, but it ends at some point.
I think it would be possible to pretty print that json string as long as the file continues and stop then.
Now if JSON ends unexpectedly it does not pretty print valid JSON before that.
For example I have 200 Mb json file from which I extracted part by
Hi,
I was wondering would it be possible to pretty print "invalid/broken" JSON? My use case is that I have partial json file which is valid from the begining, but it ends at some point.
I think it would be possible to pretty print that json string as long as the file continues and stop then.
Now if JSON ends unexpectedly it does not pretty print valid JSON before that.
For example I have 200 Mb json file from which I extracted part by
Now I would like to pretty print that small.txt as far as the valid json continues.
Example 1:
If I select "cat","d":{"y":2,"x":45}}" from that example and pretty print that, I would like it to pretty print it like
If I select ""y":2,"x":45}}" It would do nothing.
Example 2:
If I select that completely and pretty print it, I would like it to give result like
The text was updated successfully, but these errors were encountered: