Deserialize JSON file

Hi

I will have to deserialize json files in UiPath, but I have a some problem. Every files will be look like it

{
“Invoice”:
{
“NIP”:“111222333”,
“ID”:2,
“InvoiceID”:“434/232dsda/2131/2020.09”
}
}

so I can use Deserialize JSON activity but i can only read “main” object “Invoice”. I can’t read item’s from it like NIP,ID etc

In activity I use command " system.io.fire.readalltext(path) and next in assign activity JSONoutput(“Invoice”).ToString and it works. How read items from Invoice.

Thanks for advice.

Hi @kilerfcb

you can use

JSONoutput("Invoice")("NIP").toString()

Ehhh thanks a lot :slight_smile: Works :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.