noelma opened a new issue, #5066:
URL: https://github.com/apache/netbeans/issues/5066

   ### Description
   
   More complete example of JSON file for syntax highlighting
   
   ### Use case/motivation
   
   The example JSON file for syntax highlighting is the one provided by the 
[json.org](https://json.org/example.html) site.
   
   This example only contains strings, object and array.
   
   ```json
   {
       "glossary": {
           "title": "example glossary",
           "GlossDiv": {
               "title": "S",
               "GlossList": {
                   "GlossEntry": {
                       "ID": "SGML",
                       "SortAs": "SGML",
                       "GlossTerm": "Standard Generalized Markup Language",
                       "Acronym": "SGML",
                       "Abbrev": "ISO 8879:1986",
                       "GlossDef": {
                           "para": "A meta-markup language, used to create 
markup languages such as DocBook.",
                           "GlossSeeAlso": [
                               "GML",
                               "XML"
                           ]
                       },
                       "GlossSee": "markup"
                   }
               }
           }
       }
   }
   ```
   This is not enough to set syntax highlighting
   Can you provide a more complete example like this:
   
   ```json
   {
       "object": {
           "array": [
               { "value": "first" },
               { "value": "second" }
           ],
           "bool_false": false,
           "bool_true": true,
           "char": "a",
           "encoding": "\uD83D\uDE10",
           'error': 'error',
           "exponential": 1E2,
           "exponent": 1e2,
           "float": 1.0,
           "integer": 1,
           "null": null,
           "regex": "/.HTML/",
           "string": "Lorem ipsum",
           "url": "http://example.com";,
           "void": ""
       }
   }
   ```
   
   Expected result:
   ![Capture d’écran du 2022-12-10 
10-14-04](https://user-images.githubusercontent.com/10517497/206842840-192d16d2-d7f4-4838-a59f-0fadd586da14.png)
   
   
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to