[ALOY-121] TSS parsing does not handle arrays of object properly
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2012-07-24T11:31:38.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2012 Sprint 15, Release 3.0.0 |
| Components | XML |
| Labels | n/a |
| Reporter | Tony Lukasavage |
| Assignee | Unknown |
| Created | 2012-07-23T13:50:05.000+0000 |
| Updated | 2018-03-07T22:25:33.000+0000 |
Description
Example:
"backgroundGradient": {
"type": "linear",
"startPoint": { "x": "0%", "y":"0%"},
"endPoint": { "x": "0%", "y":"100%"},
"colors": [
{ "color": "#000", "offset": 0.0 },
{ "color": "#666", "offset": 1.0 }
]
}
generates this incorrect output:
backgroundGradient: {
type:"linear",
startPoint: {x:"0%",y:"0%",},
endPoint: {x:"0%",y:"100%",},
colors: [
0: {color:"#000",offset:0,},
1: {color:"#666",offset:1,},
],
}
No comments