![](/img/trans.png)
[英]Is it possible to assign chunks of Json to another Json using Liquid Transform in Logic Apps
[英]Unable to retrieve data from content JSON using liquid in logic apps
在發出http請求之前,我似乎遇到了內容類型問題,讓我在步驟中進行解釋。
{ "Employee Name" : "{{ content.firstname }} {{ content.lastname }}", "Company Name" : "{{ content.company }}", "Date Of Joining" : "{{ "now" | Date: "MM/dd/yyyy" }}", "Department" : "{{ content.department }}", "Technology" : "{{ content.work | Size }}", "Skills" : [ {% for Skill in content.work %} { "Name" : "{{ Skill.skil }}", "Marks" : {{ Skill.mark }} }, {% endfor %} ] }
{ "firstname" : "Kamlesh", "lastname" : "Kumar", "company" : "Microsoft", "department" : "Interface Technology", "work" : [ { "skil" : "BizTalk Server", "mark" : 95 }, { "skil" : "Logic Apps", "mark" : 95 }, { "skil" : "Azure", "mark" : 85 }, { "skil" : "SQL Server", "mark" : 95 } ] }
當我從郵遞員發出http請求時,它給了我以下結果
{ "Employee Name": " ", "Company Name": "", "Date Of Joining": "08/05/2019", "Department": "", "Technology": "0", "Skills": [] }
您也正在得到它。 為了解決這個問題,我通過執行以下操作在到達HTTP請求之前添加了類型
它為我工作。 請嘗試,看看是否適合您。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.