Hi ! @Allan_Zimmermann ,
I wan’t to use ReadJSON to read json file,file like “{“name”:“test”}”.error like pic
i wan’t know how to write DataTTable.
thank you.
Hi ! @Allan_Zimmermann ,
I wan’t to use ReadJSON to read json file,file like “{“name”:“test”}”.error like pic
i wan’t know how to write DataTTable.
thank you.
you need to create a datatable variable and use it with the activity
Click on the variable’s tab
then you can create the variable there, and then use that variable in ReadJSON.
Create datatable is used to CREATE one, but you don’t need to create one as ReadJSON will do that for you.
thanks,but also have error.mabe my json file is error.
rpa setting like pic1
json file like pic2
run rpa error like pic3
That is not valid json, you need to escape the string ( use two \ instead of one )
i changed the filePath.but it’s also error.
json file is "{
“filePath”:“F:\System\Desk\batTest”
}
",
i change to tow // but is alse error
can you give me an example code.
{
"filePath" : "F:\\System\\Desk\\batTest"
}
try
[
{
"filePath" : "F:\\System\\Desk\\batTest"
}
]
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.