How to do HTML to JSON conversion in Azure Logic Apps

SubramanianUdayakumar-4815 20 Reputation points
2023-10-27T11:32:21.3666667+00:00

Hi Team,

In Azure Logic Apps, I have a HTML result, now I need to convert it to JSON format. I did my research on that, but could not be able to find any direct approach for that. Please provide a guidance to do that.

Thanks

Udayakumar S

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,542 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MuthuKumaranMurugaachari-MSFT 22,441 Reputation points Moderator
    2023-10-27T17:42:04.18+00:00

    Subramanian, Udayakumar Thanks for posting your question in Microsoft Q&A. Unfortunately, there is no direct approach to convert HTML to JSON in Logic Apps (only Create HTML table action to convert from JSON to HTML). Instead, you can use Azure Functions to perform the transformation and then be called from Logic Apps. I see a similar discussion in Stack Overflow with a code snippet in C# language (other discussion - JavaScript) for reference. Similarly, you can implement or customize it in other supported languages.

    If you are interested in this feature or submit feedback, please do so via Logic Apps - Feedback and others with similar interests can upvote it too. This will help our product team prioritize the features.

    I hope this helps and let me know if you have any questions.


    If you found the answer to your question helpful, please take a moment to mark it as Yes for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.