Assembly lib does not accept JSON data source object with a single array property.
When I try to run the MainClass.simpleJsonDS_Demo() I get the following error:
Exception: An error has been encountered at the end of expression ‘in managers]>’. Can not get the value of member ‘managers’ on type ‘class com.groupdocs.assembly.system.data.DataRowCollection’.
But if I add another property next to managers property no matter if I put it before or after the exception disappears.
To get the same scenario it is necessary to just change the ManagerData.json and change line 2619 removing the “managers” argument from the call to construct DataSourceInfo. Ex: DataSourceInfo dataSourceInfo = new DataSourceInfo(datasource);