Check JSON syntax using language pack

That sounds like what I’m looking for. Although I guess there’s no way to get the text from syntax tree?