4

I am sending a complicated json object including nested objects and arrays. Before sending it, I am trying to observe whether the json is well formed or not. So I've printed the json data in Android studio logcat. I am trying to copy the data and paste it in an online json viewer tool for inspecting such as: http://jsonviewer.stack.hu/

Problem is- the whole data is printed in one line, so it gets difficult to copy the whole data from there. It would be more convenient if the data would be printed in multi line. Is there any way in Android studio logcat that I can omit the horizontal scroller and see everything in multi line ?

The scroller is too little and I've to hold the mouse for a long time to select the whole data.

1 Answer 1

9

Press on the focussed button. It'll wrap the text to next line

Screenshot

2
  • perfect one. Thanks a lot.
    – Niaz Ahsan
    Aug 6, 2018 at 9:35
  • sure, but it says I can do it in 5 minutes. I will surely mark it as correct.
    – Niaz Ahsan
    Aug 6, 2018 at 9:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.