Json Parsing - Json array in Json Object

Below is my Json file which i want to parse to get all the values in dictionary with keys and values as string . Getting Error in line 12 OUNew and LegalEntity .
“requestorName”:“xyz “,
“businessCenterId”:“United States”,
“supplierAddress”:“12575 Uline Drive Pleasant Prairie WI US 53158”,
“supBusinessAddress1”:“12575 Uline Drive”,
“supCity”:“Pleasant Prairie”,

HI @Mabel_Christ

Can you share the error ?


when this dictionary is needed we can do following:

whenever a complex datatype is occurring on the values we will serialize it for the dictionary value

remittanceAddressContainer,contacts… will be if the same case

Would this work for? If yes we can help for this

Please find the error i am getting

Kindly Help

in a prepared implementation of

doing this

JsonConvert.DeserializeObject(Of Dictionary(Of String, Object))(strJSON)


myJObject.Properties.ToDictionary(Function (x) x.Name, function (x) x.Value.toString)

How far is the result from your expected result?

Kindly note: string Json from value e.g. contacts can be deserialized later also as well

1 Like
  1. Check if your JSON is valid, for example here: https://jsonformatter.curiousconcept.com/

  2. If is valid and Deserialize activity still does not work, a workaround is to try to convert it into a dictionary with an Assign activity:

JsonConvert.DeserializeObject(Of Dictionary(Of String, Object))(responseBody)
where responseBody is your JSON as string