FastReport.Community.2023.2.0 broken for json
dex252 opened this issue · comments
Describe the bug
List box, object from json data source not rendering properly
To Reproduce
Steps to reproduce the behavior:
- create a json file report.json
- Run Designer.exe in FastReport.Community.2023.2.0
- Go to the Data tab and right-click on DataSource => New Data Source
- Select new connection, specify the JSON Database connection type, select the previously created report.json file
- Click next, on the Data Wizard tab expand the list of fields
- The Info field is represented as a number, not a list
Expected behavior
The field information must be a list, not a number. The same thing happens if Info is an object
Screenshots
bug(?):
json:
Json in text:
{
"documents": [{
"DocumentDate": "09.09.2023",
"LastName": "Korgi",
"FirstName": "Dog",
"MiddleName": "Dog",
"Info": [{
"Company": "IBM",
"CountActions": 2500,
"Cost": "28.13",
"TransactionDate": "09.09.2023 18:05:15"
}
]
}
]
}
Device (please complete the following information):
- Windows 10 Home Edition