Expand my Community achievements bar.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.

Split json array to individual JSON object by adding common key for each Object to access it further modules

Avatar

Employee

Hi Everyone,

I got a requirement in fusion as shown below,

input JSON : [{"key1":"value1"},{"key1":"value2"},{"key1":"value3"}]

OUTPUT [{"data":{"key1":"value1"}},{"data":{"key1":"value2"}},{"data":{"key1":"value3"}}]

Split JSON array to individual JSON object by adding a common key for each Object to access in further modules. please help me with this. 

I appreciate any help you can provide.

 

0 Replies