This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 215821 - JSON formatting issue - brackets moved to the right
Summary: JSON formatting issue - brackets moved to the right
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: JSON (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-23 07:32 UTC by Vladimir Riha
Modified: 2012-09-10 06:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2012-07-23 07:32:52 UTC
Use following code in json file:
{
    "types":
    [
    {
        "property": "Slide: Importance",
        "shortName": "Slide_Importance",
        "type": "value",
    }
    ]
}

After formatting, it becomes:

{
    "types":
            [
            {
        "property": "Slide: Importance",
        "shortName": "Slide_Importance",
        "type": "value",
    }
    ]
}


Product Version: NetBeans IDE Dev (Build 201207220002)
Java: 1.7.0_06-ea; Java HotSpot(TM) Client VM 23.2-b08
System: Linux version 3.0.0-21-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Hejl 2012-09-07 16:27:49 UTC
Fixed in web-main 3916aa65a089 & f29b47b2439d.
Comment 2 Quality Engineering 2012-09-09 02:03:16 UTC
Integrated into 'main-golden', will be available in build *201209090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/3916aa65a089
User: Petr Hejl <phejl@netbeans.org>
Log: #215821 - JSON formatting issue - brackets moved to the right
Comment 3 Vladimir Riha 2012-09-10 06:14:26 UTC
verified, thanks


Product Version: NetBeans IDE Dev (Build 201209100001)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-29-generic-pae running on i386; UTF-8; en_US (nb)