I have a test file like
“Acc No”:“12345” , “Name”: “Test”,“Address”:“Abc Street”
Using Read Text File and storing the output in FlatFile
Using Deserialize Jason and storing the output in ClientDetails(Dictionary)
How to view value of account no, name, address separately?
I want to view and details as well as want to store values separately in those respective variables (AccNo, Name, Address)
Name = ClientDetails(“Name”).toString
accNo = ClientDetails(“Acc No”).toString
address = ClientDetails(“Address”).toString
maybe you can show on what you have done so far and reformulate your question.
In general we would use the dictionary key for getting the corresponding value or would use the underlying JSON directly e.g. with Propertyname or SelectToken-JSONPath Expression.
Is there any specific reason why dedicated variables are needed?