Display log messages or data in json format

i have a log file with all the data like process started and ended and parametrs and etc… is there any possibility to convert or to display in Json format?

any samples?

1 Like

Fine
Log file will be a excel file
So to convert excel to Json
Hope this would help you

Cheers @sunilraju

datatable to json string:
jsonConvert.SerializeObject(datatableVariable)

Json string to datatable:
jsonConvert.DeSerializeObject(JsonStringVariable)

@Palaniyappan

Do we have any activity called convert excel to Json?

Well not directly from Excel to Json
May after reading the Excel and getting the output as datatable, so from datatable to Json
hope this would help you
https://go.uipath.com/component/datatable-to-json-string

Cheers @sunilraju