What is the best way to parse out a value from a user object? | Community
Skip to main content
New Participant
March 8, 2024
Solved

What is the best way to parse out a value from a user object?

  • March 8, 2024
  • 1 reply
  • 1096 views

I have a custom field that is a typeahead from the user object.

 

In Fusion, that custom field is passed as:
'{"objCode":"USER","name":"Anushka XXXX","ID":"64ad05ec00xxxx52aed8fa3f4"}

Is there an easy way to parse out the name or ID out of this?  Can I do this with a map() function?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by cverges

Pass it into a JSON parser node, then pull out the ID value from that.

1 reply

cvergesAccepted solution
New Participant
March 8, 2024

Pass it into a JSON parser node, then pull out the ID value from that.

daBellowsAuthor
New Participant
March 8, 2024

Great suggestion!