question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Write a Monarch JSON parser

See original GitHub issue

It seems the JSON language’s token was integrated into jsonMode.js and can not be found in monaco-languages like other languages does. Is it possible?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
troy351commented, Aug 23, 2021

It works, Thanks!

0reactions
alexdimacommented, Aug 23, 2021

Yes, it looks like you can use monaco.languages.json.jsonDefaults.setModeConfiguration({ tokens: false });

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monaco Editor Monarch - Microsoft Open Source
This library allows you to specify an efficient syntax highlighter, using a declarative lexical specification (written as a JSON value).
Read more >
How to use JSON which defines my language from Monarch ...
My thinking is that it should be step by step a) make Monarch JSON b) use some Monaco API to load it and...
Read more >
Writing a browser based editor using Monaco and ANTLR
ANTLR is a tool that given a grammar can generate a corresponding parser in multiple ... To configure it we will need to...
Read more >
Snowflake Skills #4 - Parsing a JSON
At this point we would like to parse the Json and create the requested columns, but first we need to find our way...
Read more >
APEX_JSON - Oracle Help Center
To read from a string that contains JSON data, first use parse() to convert the string to an internal format. Then use the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found