Different colors for Keys and Values for JSON?

Issue

I was wondering if there is a way to color keys and values differently for JSON files. So far I have only found the “String” property to have any effect, but it changes both the key and the value simultaneously.

Solution

Because both keys and values are usually strings in JSON (not in javascript objects though), there’s no way to highlight them differently. However, you can file an enhancement request on the bug tracker for this.

Answered By – Defman

Answer Checked By – Gilberto Lyons (AngularFixing Admin)

Leave a Reply

Your email address will not be published.