简体   繁体   中英

Is it possible to assign chunks of Json to another Json using Liquid Transform in Logic Apps

Is it possible to assign chunks of Json to another Json object using Liquid Transform in Logic Apps? The sample input json to the Transform would looks like this

{
    "person": {
        "name": "john",
        "age": 20
    }
}

The liquid map would look something like this

{
"output":{{content.person}}
}

The expected output would look like this

{
    "output": {
        "person": {
            "name": "john",
            "age": 20
        }
    }
}

Try this:

在此处输入图片说明

Content of stantest map:

{"output":{{content}}}

Result of this logic App:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM