Query return json in scripting
T
Tyrel Parker
It would be really nice to be able to designate in scripting how the query will format the data on return. Like if I run a query binding I can designate it to return in json format which seems to behave better within Ignition, and I should be able to pass that parameter to the system function as well.
Log In
S
Subin Adhikari
this honestly makes sense!
E
Enzo Sagnelonge
Ideally, the datasetToJson function from com.inductiveautomation.ignition.common.TypeUtilities should be replaced with the one from from.inductiveautomation.perspective.gateway.binding.BindingUtils.
And If possible, expose it via script.