Features
Support
Purchase
Documentation
Download
Login
Register
Login
Register
Home
»
LogViewPlus Support
»
Features & Suggestions
»
IN JSON Pretty-Print render escaped chars in the JSON values
IN JSON Pretty-Print render escaped chars in the JSON values
Post Reply
Like
1
IN JSON Pretty-Print render escaped chars in the JSON values
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Michael Taylor
Michael Taylor
posted 2 Months Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 3,
Visits: 12
Would it be possible to render the escaped new line chars as new lines so that reading data that contains them is much clearer?
Currently they appear as
\n
and
\r\n
in the JSON values.
Reply
Like
1
Michael Taylor
Michael Taylor
posted 2 Months Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 3,
Visits: 12
i believe the list of all chars that require attention are:
\" (double quote)
\\ (backslash)
\/ (forward slash)
\b (backspace)
\f (form feed)
\n (new line)
\r (carriage return)
\t (horizontal tab)
Reply
Like
0
LogViewPlus Support
LogViewPlus Support
posted 2 Months Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.2K,
Visits: 4.3K
Hi Miket,
Thanks for the feedback.
I am not sure if this feature would be helpful for all users. Some users just want to see the JSON values as written. Also, if I use a sample JSON entry like:
{"Key": "\"Hello\r\n\tWorld!\"" }
I can paste that into some of the JSON pretty print tools available on line. Some of those tools also do not escape the characters.
Thanks,
Toby
Reply
Like
0
Michael Taylor
Michael Taylor
posted 2 Months Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 3,
Visits: 12
I totally agree that it most other online JSON prety-print services will render the escape characters as they are within the JSON. but i'm asking if this could be added as a feature perhaps on some sort of toggle option like the word wrap feature?
Iit would make reading of things like stack traces in the logs so much easier for us. having the line breaks in the right place enhances readability no end.
Reply
Like
0
LogViewPlus Support
LogViewPlus Support
posted 2 Months Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.2K,
Visits: 4.3K
Thanks for the feedback. I can see where this would be helpful when viewing something like stack trace. Let me take a look and see what we can do for the next release.
Thanks again,
Toby
Reply
Like
1
LogViewPlus Support
LogViewPlus Support
posted 2 Months Ago
ANSWER
Post Details
Share Post
Group: Moderators
Posts: 1.2K,
Visits: 4.3K
Hi Michael,
I just wanted to let you know that we have now released LogViewPlus v3.1.19 as a
BETA release
.
This release addresses the issue with escape characters discussed above. For this to work, you will need to opt into escape character processing. This setting can be found under Syntax Highlights:
Hope that helps,
Toby
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search