Forum Discussion

SL12345's avatar
SL12345
New Contributor III
4 years ago
Solved

Creating separate jsons

Hi Snaplogic experts, i would like to ask you if there is chance to create from Json like this: { "CompanyName": "TestCompany", "CompanyAddress": "TestAddress", "CarDetails": [ {"Brand": "BMW",...
  • j_angelevski's avatar
    4 years ago

    Hi @SL12345,

    Just use a JSON Splitter and split on $CarDetails array, but make sure you have enabled “Include scalar parents” option in the JSON Splitter.

    Result: