From BizTalk 2013 R2 & upper version, BizTalk also provides in-build REST service capability. Before this, there was required custom coding for Json file and rest services. Now it’s easy to create schema from Json file.
Select JSON Schema Wizard, following window will open
Select Json file in instance file and change the root node name and click finished. It will create schema.
This JSON schema Wizard does not provide schema creation for array-list json files. for arraylist json file you need to create custom pipeline.
Click here for cusom pipeline for below rquirement
- Handle Non-List/Array json messages
- Handle List/Array json messages
- Remove special characters before json Decoder pipeline stage