Category: | Enhancement request |
Priority: | Normal |
Status: | Confirmed |
Project: | Severity: | Minor |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
Using a schema like:
{
Group: {
_type: 'array',
_children: {
_type: 'object',
Row: 'value'
}
}
}
data can be exported to a format like:
{
"Group": [
{ "Row": "data_for_row_1"},
{ "Row": "data_for_row_2"},
{ "Row": "data_for_row_3"},
...
]
}
which is an array of objects.
The format required for a project (external requirements, can't change them) would be:
{
"Group": [
"data_for_row_1",
"data_for_row_2",
"data_for_row_3",
...
]
}
which is an array of values.
JasperReports does not seem to support such an export format as it rejects any schema which contains arrays which do not have children of type object.
Is there a way to achieve an export to an array of values with the current state of JasperReports?
Can JasperReports be tweaked to achieve this?
If not, I would name this capability an item for the Feature Wishlist.
1 Comment:
This is not possible to achieve with current code. However it can and, most likely, will be enhanced to allow this.