legacy json highlights more then more modern lang-json

Hi, the legacy json package is highlighting more of the json file than the newer and more modern lang-json. Is this expected or could this be fixed please?

E.g.

{
  "test" (not highlighted in lang-json but is in legacy json): "test"
}

lang-json:

legacy json:

It’s highlighting property names with the propertyName tag, instead of string (as the old mode does). I’d argue that is more detailed, but indeed, in the default highlight style you’ll see less color.

It doesn’t use propertyName for it:

It seems in javascript (using lang-javascript) it highlights “tags-desc” as a string.

It does. That’s just not a tag that’s styled by the default highlighter.

Oh, I see. Thanks for explaining! Was wondering why it was working for GitHub and then I found this github/data/github/current/ui/packages/code-mirror/themes/github-theme.ts at e57846a2662638581462c288da551ede0770e3c9 · offsoc/github · GitHub

Is it possible for the default highlight to highlight more?

No, the default highlighting isn’t going to change much at this point. But it’s easy enough to define your own style if you want something different.