Function loadGrammarFromJson

  • Load a Langium grammar for your language from a JSON string. This is used by several services, most notably the parser builder which interprets the grammar to create a parser.

    Parameters

    • json: string

    Returns Grammar