Skip to main content

Importing/Creating JSON definitions

When creating a JSON structure without using the JSON Schema import, it is important that this sample document have all of the possible objects and non-object values that can occur in any JSON instance documents. If this is not the case, then it's possible to get runtime errors when processing the JSON instance documents since required elements will not be present in the structure.

It is possible to manually create a JSON structure or manually modify the imported JSON structure to add the missing elements, so long as you follow the conventions in this section.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!