There is no way to convert a UniDynArray object to a Jason object directly without additional schema (dictionary) information. U2 Toolkit client can create a Json object using the TOJSON function ('ExecuteJson Method'). The sample code could be found in the C:\Program Files\Rocket Software\U2 Toolkit for .NET\U2 Database Provider\samples\C#\UniVerse\NativeAccess\Select_SQL_Syntax_Json folder after 64-bit U2 Toolkit provider driver is installed.
------------------------------
Paul Chang
Principal Technical Support Engineer
Rocket Internal - All Brands
------------------------------
Original Message:
Sent: 08-01-2023 03:57
From: Daniel Conradie
Subject: UniDynArray in Visual Studio C#
Hi,
I have Universe pgms that return a UniDynArray, but would like to convert the returns into a json format.
I am not sure if this has been asked before but really looking for help on this last section of my code please?
------------------------------
Daniel Conradie
Rocket Forum Shared Account
------------------------------