Show as JSON on the logs works not good for lists as least

Issue #1505 new
Aliaksandr Luferau created an issue

When click right mouse button on some JSON string that represent array on the logs then open bracket missed on the parsed result

Steps to reproduce:

  1. put next code to the anonymous apex
System.debug(
    JSON.serialize([SELECT Id FROM Contact LIMIT 1])
);

2. Execute it, click right mouse button on the DEBUG output and select “Show as JSON” menu item;

Comments (1)

  1. Scott Wells repo owner

    Interesting. I didn't even know that was a feature. VERY cool! I'll see if there's anything I can do about this, but since Show as JSON is a core IDE feature, unless they've provided some plugin SDK extension point to detect the boundaries of the JSON in the current text, there may not be much I can do about it aside from filing a bug with JetBrains themselves.

  2. Log in to comment