I need to get JSON file from http address from web. Address returns JSON file. In file is a list of companys names and addresses. After that i need to get names to datable.
I have no idea how to accomplish this, complete newbie in https and json world…
Hi - During configuring the api, Please select this option(Snippet below, Yellow highlighted) and save the file in your local folder and input that file to read text. Pass the output of read text to Deserialize json activity.
Found a solution how to get Json file to DataTable:
Removed from Json file all before “[” and after “]”
Changed deserialisejson TypeArgument to System.Data.DataTable
So beginning to learn json, i think Json Array “[…]” is inside Json Object??
So maybe a solution is to save Json to file in HTTP request and remove all but between [ and ]. Sounds complicated but maybe it have to be done if UiPath json activities can’t handle this type of json arrays?