Back to LanguageTool Homepage - Privacy - Imprint

JSON output extended with "sentence"

Hi, I’ve extended the JSON output of our HTTP API with a sentence field which contains the sentence that contains the error. Before, there was only the context field which only contains a part of the sentence in case of longer sentence. This change will be deployed to the public HTTP API later tonight.

Thank you very much, Daniel.
This is a great improvement. Bevor I had to calculate the sentence position after stripping tags from the source text, which was really a pain… :sunglasses: