In logic apps you can simply call json(xmlStringHere) to convert your xml to json, so not sure what do we need liquid template for.
In Azure Logic apps, what is/are the advantage(s) of using a liquid template to convert xml?
307 Views Asked by Mocas At
1
There are 1 best solutions below
Related Questions in JSON
- getting undefined while iterating json
- How can I serialize a numpy array while preserving matrix dimensions?
- What is best way to check if any of the property of object is null or empty?
- How to query JSON data according to JSON array's size with Spark SQL?
- Extracting data from json_decode with lat and lng geolocation
- Convert JSON.gz to JSON in node js
- How do I get the type to convert to when deserializing from Jackson
- Escape dot in jquery validate plugin
- Are allOf and properties keywords interchangeable?
- Sort continents by amount of countries
- Is there a data format lighter than json?
- Object of class CS_REST_Wrapper_Result could not be converted to string in CAMPAIGN MONITOR
- How to read JSON data from a web server running PHP and MySQL?
- Parse Nsmutabledictionary and extract value
- Handle empty JSON values in Java
Related Questions in XML
- Impose component restriction to a series of parsys-CQ
- Wrong xml being inflated android
- Shorten the XSD
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Magento custom block. Can't get block's file
- Layout not shifting up when keyboard is open
- CSV to XML XSLT: How to quote excape
- Getting deeply embedded XML element values
- Saving FileSystemInfo Array to File
- how to apply templates within xsl:for-each
- Spring - configure Jboss Intros for xml with java config?
- Problems with implementing custom actionbar android
- Can Apache Ant be told to cache its XML files?
- Is Log4j2 xml configuration case sensitive?
- How to get a specific node value in XML Pull Parser
Related Questions in AZURE-LOGIC-APPS
- Azure Logic Apps SMTP Connector {"code":"BadRequest","message":"Http request failed: the timeout was reached."}
- Azure Logic Apps: Insert MULTIPLE rows to Azure SQL Database
- Can't figure out monitoring and "trackedProperties" setting
- Custom logic app connector
- Azure function gives "The 'code' query parameter provided in the HTTP request did not match the expected value."
- How can I make my Azure logic app portable
- Parsing/ converting Json to XML i Logic Apps, possible?
- How to add a reference of "System.ServiceModel" from Azure Function?
- azure logic app, visual studio, open existing logic app from portal?
- Create Logic Apps workflow using SDK (C#) samples
- Azure Logic Apps - ARM template to deploy filesystem API connection
- Logic App Get rows task processes only 512 rows?
- How to rename existing Azure Logic App?
- Azure logic app SFTP connection Error "A reference was made to a file which does not exist."
- Most Logic App connectors don't work within the Azure Portal
Related Questions in LIQUID-TEMPLATE
- How to Remove comma for the last object in nested for loop?
- How to write inline code documentation in Liquid template files
- Get key and value data from json with Liquid
- How to remove multiple items when item.properties match?
- Azure APIM - set-body policy returning Byte data
- Can I change the timezone for my api from the server where it is stored? Azure API Manager
- How would I validate if my JSON object has another object or and Array, using Liquid Template
- How to Transform from xml to json in Azure Logic apps using Liquid with duplicated element not in array
- FHIR Converter for Python
- How to no-index specific pages on shopify? Don't want to use "contains" example for shopify, can I just type "="? And what denotes as the handle?
- JSON to JSON Liquid template transformation
- In Azure Logic apps, what is/are the advantage(s) of using a liquid template to convert xml?
- 3Scale custom policy matching path param in the URI
- Liquid error: Error - Illegal template path
- A "Copy Everything" liquid template for JSON to JSON
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Adding to what @Skin mentioned, Sure, you can directly convert XML to JSON. However, in a few cases if the data is too complex or large to handle Liquid template comes into play. Liquid templates offer the schema too along with the conversion which maps the source data to required JSON format. To be more clear below is a sample for demonstration purposes.
Below is the XML that I'm trying to map through Liquid template
Here is the template that I'm looking for where I can retrieve the required fields which looks a bit more complex when we try to build the same using logic apps alone.
Below is the flow of my Logic app
Results
For more information you can refer Convert JSON and XML with Liquid templates