I'm trying to create a low code app that has a GQI data source. I've created the automation script and it calls an API endpoint which returns JSON.
In the script I'm using System.Text.Json to deserialize it to my object.
var results = JsonSerializer.Deserialize<List<MaterialOverviewItem>>(stream, new JsonSerializerOptions { PropertyNameCaseInsensitive = true });
The script is set to Compile as library, however it's not showing up in my adhoc data sources when I create the app.
Everything looks fine in the code in visual studio, and I installed the System.Text.Json package, however if I validate it in dataminer it throws 3 errors and says it can't find the namespace for JsonSerializer.
Am I missing an extra step?
Thanks!
Hi Carl, did you add the DLL references in the DLL references block under the advanced part of the automation script?