Skip to content

Extended Lauguage Support - JSON Schemas #47

Description

@DerekChasse

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions