Replies: 1 comment
-
There is not currently support for keeping some parts on the same line. It has been discussed in the past. Here's one example: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to control the depth to which the prettyfied json is produced?
For the following json
{"data": [{"frame_index": 1, "skeleton": [{"pose": [0.612, 0.639, 0.624]}]}]}
The current prettyfying yields
Desired behavior:
If depth=0 then the output would be equal to the non-prettyfied json
If depth=3 then the output would be
Is this possible in nlohmann/json ?
Beta Was this translation helpful? Give feedback.
All reactions