0

The sample json data i had in my source file

{ "name": "pari ", "age": 30, "email": "[email protected]",
"address": { "street": "123 Main St", "city": "xyz", "state": "CA", "zip": "12345" }, "phoneNumbers": [ { "type": "home", "number": "112-234-1234" }, { "type": "work", "number": "222-332-5678" } ] }

Now i am trying to convert this into either text/xml format by using compose action. Then after data formation i want to migrate it to sql.

I have tried http request trigger and blob trigger and then blob and compose actions but i am facing issues. As i am new to this please some one help me to create azure logic app workflow in my case .

1 Answer 1

1

You should just be able to use the xml() expression.

Flow

The second step has this expression ...

xml(json(concat('{ "root": ', variables('JSON'), '}')))

Result

Result

Sign up to request clarification or add additional context in comments.

3 Comments

Thank you. I will give it a try but i am asking about converting and then moving it to sql. You answered half of my question thanks for that.
First things first, the SQL side should be another question IMO.
Thank you . It would be great if you can provide that

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.