Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Prevent escape characters when populating array from text

Manual Trigger Flow

Parameter: pstrArray


pstrArray = 
{ "What": "Love", "Who": "Eros"},
{ "What": "Sea", "Who": "Neptune"},
{ "What": "Slingblade","Who":"Billy Bob Thorton"}


Initiate an Array variable, arrArray, and populate with:

    [ trigger()?[text] ] 

(Concatenation of the square brackets with the text in-between.)


When ran, arrArray gets special chars added:

{ \"What\": \"Love\", \"Who\": \"Eros\"},\n
 { \"What\": \"Sea\", \"Who\": \"Neptune\"},\n
 {\"What\": \"Slingblade\",\"Who\":\"Billy Bob Thorton\"}
What's the proper way to parse to populate the an array variable with array-like text from a trigger parameter?

Hi @CantStopTheFlow 


Using a select I think:




I've just had the same learning experience 🙂


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

(I didn't realize that my post stripped out the n's after the slashes "\ n" and all of the double quotes.)


I had started down the Select path, but because I wanted to have a various number, and naming, of columns, I cut it short.  


I definitely wasted far too much energy on this, so thanks for the tip.

Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,973)