json.dumps truncated in R23 Console
-
Hello,
I'm trying to solve some issues in my plugin's JSON data but when I print the data to the Console it is truncated with an ellipsis...
print((json.dumps(data, indent=4, sort_keys=True)))
This is not the case in S22. How can I restore the full verbose print functionality? Thank you!
-
This is a know limitation, I will confirm you the buffer size on monday, but the best way would be to print multiple time.
Cheers,
Maxime. -
The maximum length of a line can be is about 1024 characters.
So if you want to print and see something bigger than 1024 characters your need to first splits the line and do multiple outputs.Cheers,
Maxime. -
@m_adam Thanks for the reply. For what it's worth, I liked it a lot better before where you could print all of your data without having to code around its structure.
-
Sorry for the late reply, a bug report was created and it will be looked at.
Cheers,
Maxime. -
Hi with latest update R24 SP1 the maximum character count per print was extended to 120000.
If you want to display more characters, either do multiple print statement or output the string to a file (previously the file output was also shrinked, this is not anymore the case).Cheers,
Maxime. -
Excellent, thank you for following up, @m_adam !