Skip to main content
Cadet | Tier 2
December 21, 2024
Solved

How to get linkedhashmap values

  • December 21, 2024
  • 1 reply
  • 124 views

Hi Friends,

Can any body please tell, How to  get/display/retrive  linkedhashmap values ?

In other word, Can we cast linkedhasmapvalues in String format ?

    Best answer by Aaron.Gleason

    You could traverse the key/value pairs, appending each to a string, but it would likely only be useful for Debug purposes. You could encode it in JSON format and return it as a string, too. 

    Do you have more specifics of what you're trying to do?

    1 reply

    Aaron.Gleason
    Automation Anywhere Team
    Automation Anywhere Team
    December 21, 2024

    You could traverse the key/value pairs, appending each to a string, but it would likely only be useful for Debug purposes. You could encode it in JSON format and return it as a string, too. 

    Do you have more specifics of what you're trying to do?