Closed pelikhan closed 3 years ago
@pelikhan can you elaborate? which sample? it will help if you can point to the exact line number where you expected the JSON array.
Components should be wrapped into a JSON array.
The DTDL spec does specify any format to include multiple interfaces in a single file.
The sample shows two JSON document in the same snippet. @dominicbetts should we create one snippet per JSON file?
PS: We are using the JSON array in the expanded format for import/export from the Device Model Repo to/from Central.
@rido-min, @pelikhan - I'm updating the article to make clear that the snippets come from two JSON documents.
Components should be wrapped into a JSON array.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.