i need to generate a log file in JSON format. which packages & activities will be needed to do that?
Kindly have a view on this thread
hmmm thats sounds interesting.You mean you want to generate a log file directly to json format ? But if you have a logfile like Excel,Datatable,Xml theres a lot of components that convert to JSon format. @Abinayaab
so is it necessary to put my data in an excel inorder to convert it into json format?
Here is what i did. i used an append line activity and added data in required format in the text, and named it using the datetime activity bz its generated everyday. But it has to be generated in json format. Is there a way to do something like this directly or is it mandatory to store it as a datatable and then convert in json?
Not mandatory. You can directly do that with string operations.
You need to construct the json string as shown below.
And then you can use Deserialise Json activity to read the data.
Or you could use directly the Newtonsoft framework for this purpose.
Yep I used the variable type from newtonsoft framework. it works. Thanks
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.