Page 1 of 1

JSON Data Source

Posted: Wed May 15, 2019 2:06 pm
by nitin.sharma870
How to pass the JSON data source to report in C# dontet 4.5.
I just found the below code that first converts the JSON data to DataSet and then registers with the report.

Code: Select all

 DataSet data = StiJsonToDataSetConverter.GetDataSetFromFile("//Demo.json"); 
Is there any way that we can directly pass the JSON data without converting to the dataset?.

Re: JSON Data Source

Posted: Thu May 16, 2019 9:19 am
by Lech Kulikowski
Hello,

You can add JSON data source to the report and set the path to the JSON file or add JSON to resources.

Thank you.