2.2 JSON report to 2.3 report
Do we have any method in API(or npm module) to convert 2.2 version JSON report to 2.3 version Report?
Thanks & Regards,
Thank you for your question.
You may already know that we have a separate converter for 2.2 XML reports to 2.3 JSON reports. Here is the npm module for the report converter.
Regarding the conversion from 2.2 version JSON report to 2.3 version JSON report, I would like to suggest you to use the component itself for this purpose. The 2.2 version JSON reports are supported by the pivot table component in terms of backward compatibility. When the 2.2 JSON report is loaded by the component it is being converted to the 2.3 JSON report automatically. Thus, when you save the report as a JSON file or get the report object using getReport() API call, the report will be returned in 2.3 JSON format.
Please let me know if using the component for the conversion of JSON reports works for you.