I have two list of dictionaries (string , object) type.
1.I need to see all the values in the list of dictionaries.
2.I need to compare both the dictionaries without entering keys .
But I don’t know how to achieve this. Please help.
Thanks in Advance
ppr
(Peter Preuss)
August 25, 2022, 3:51pm
2
we can use the Values Property
One of a few options can be:
When same values are present
Kindly note: SequenceEqual is strict on position and value
I got this when I use Values function
ppr
(Peter Preuss)
August 25, 2022, 4:20pm
4
we assume that you have used a message box and and YourDictVar.Values.ToString
this will return some details to datatype/object but not a string representation of the values
It is recommended to do RnD, Inspections … within the different panels from debugging and fully to avoid using message box, Write Line…
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum
The shared screenshots are done while debugging within the immediate panel from UiPath Studio. Same is also available for you for your further exploration and experiments
1 Like
can we store the list of dictionaries in json or data table? Because i need to store the differences.
ppr
(Peter Preuss)
August 25, 2022, 4:56pm
6
lets do things step by step and also lets scope a topic to only one case. It is then easier for others to find solutions when having a similar case.
AND
Just elaborate more your business case and what is needed. Once the requierments are clear we can check for the differen solution options
We need to compare the list of dictionaries and store the differences we got in a json file or text file. This is the priority one
system
(system)
Closed
September 5, 2022, 12:46pm
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.