How to display Json?

I am seeking for a way to display json data.

@tanya_spr Welcome to the community!
Can you be a little more specific regarding your use case? Screenshots? Code? Queries? Payload?

i want to display my data into json in a prettier format (as in jsoneditor).But the problem is ,in json editor i can not disable editing.i don't want user to edit my displayed json.

Try putting the JSON in a text field or rich text area adn set disabled to true or read only to true