Lesson129 - JSON Nested - Power Automate 1000 Videos

Поделиться
HTML-код
  • Опубликовано: 24 янв 2025

Комментарии • 1

  • @PowerAutomateVideos
    @PowerAutomateVideos  4 месяца назад

    JSON Nested
    Flow_Nested
    varJSON - object
    {
    "Users" :
    [
    {
    "FirstName" : "Intekhab",
    "LastName" : "Shaikh"
    },
    {
    "FirstName" : "Nikhil",
    "LastName" : "Dixit"
    }
    ]
    ,
    "Sales" :
    [
    {
    "FirstName" : "Intekhab",
    "Sales" : "100"
    },
    {
    "FirstName" : "Nikhil",
    "Sales" : "200"
    }
    ],
    "x" : "Hi from Intekhab"
    }
    Compose
    concat(variables('varJSON')['Sales'],'')
    This will bring
    [{"FirstName":"Intekhab","Sales":"100"},{"FirstName":"Nikhil","Sales":"200"}]
    concat(variables('varJSON')['Sales'][0],'')
    This will bring
    {"FirstName":"Intekhab","Sales":"100"}
    concat(variables('varJSON')['x'],'')
    this will bring
    Hi from Intekhab