Using JSON(Javascript Object Notation) datasource send data from .Net Core
Hi,
I create a list from person class that using .Net Core 5.0. and send to report but fastreport consists of a single line from the first element of the list.
List<Person> data = GetDummyData(); Report report = new Report(); report.Load("C:\\Users\\testyazilim\\Desktop\\PersonJsonTest.frx"); report.RegisterData(data, "JSON.item"); report.Prepare();
The json format I use is as follows; and json schema is created automatically.
{ "Id": { "type": "integer" }, "Name": { "type": "string" }, "Surname": { "type": "string" }, "Age": { "type": "integer" } }
the report is generated successfully but only from a single line, although I use a table in ".frx" report. I used many different versions of json, but the result was the same.
I use FastReport Community.
Comments
https://github.com/FastReports/FastReport/issues/281