I'm using this editor to support JSON file authoring. Out of the box this is supported and works fine.
I'm also looking to validate and ensure that the authored JSON conforms to a given schema that I will provide. This is similar to the "Configure Json Defaults" example on the playground.
Example: https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-json-defaults
I see all of this documented on Monaco's Language API but don't see an obvious mechanism to set these values in this implementation.
API: https://microsoft.github.io/monaco-editor/api/modules/monaco.languages.json.html
Is this possible?
Thanks,
~Derek
I'm using this editor to support JSON file authoring. Out of the box this is supported and works fine.
I'm also looking to validate and ensure that the authored JSON conforms to a given schema that I will provide. This is similar to the "Configure Json Defaults" example on the playground.
Example: https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-json-defaults
I see all of this documented on Monaco's Language API but don't see an obvious mechanism to set these values in this implementation.
API: https://microsoft.github.io/monaco-editor/api/modules/monaco.languages.json.html
Is this possible?
Thanks,
~Derek