Another common task for us developers inside Azure Integration Services, especially inside Logic Apps, is manually creating a JSON message, either inside a Parse JSON action, Compose action, or directly in the connectors (or any other way), but there is a catch…
If you work in the Azure Portal and create an invalid JSON message inside an action or connector, the editor will not allow you to save the Logic App. Instead, it will give you an error saying that the definition contains invalid parameters.
Clik here to view.

However, if you are creating the same Logic App Consumption inside Visual Studio:
Clik here to view.

We can successfully validate this Logic App:
Clik here to view.

And we can actually successfully deploy this Logic App:
Clik here to view.

And that will become a problem once we run our Logic App. For this reason, it is always good for you to guarantee that the JSON message is well formatted before you deploy your business processes.
And yes, I know many only tools exist to perform this task, so why a Windows tool? Again, for the same reasons I described in my previous tools: security and privacy.
I’m starting to become a freak in terms of security. Nothing is free, and the problem with these online tools is that we never know behind the scenes what they are doing. Are you sure that they are not keeping logs of the inputs we provide and the result outputs? And don’t say, but Sandro, this is just a simple message. Well, many messages have sensitive (private) information from users or companies that sometimes you are not aware of, so it is better to play safe than sorry. It is wise to be careful now so that problems do not occur later on and protect yourself against risk rather than be careless.
JSON Validator Tool
JSON Validator Tool is a lightweight Windows tool that allows you to validate and reformat a JSON message.
Clik here to view.

To not raise the same suspicions about this tool, the source code is available on GitHub!
Download
Hope you find this useful! So, if you liked the content or found it useful and want to help me write more content, you can buy (or help buy) my son a Star Wars Lego!
Clik here to view.

Credits
- Diogo Formosinho | Member of my team and one of the persons responsible for developing this tool.
The post JSON Validator Tool appeared first on BizTalkGurus.