Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The result is an array of objects whict contains matches, where matches is also an array of objects consisting of attribute-value pairs.  

The following attribute-value pairs  

AttibuteTypeValueDescription
typestring
  • spelling
  • grammar

offsetnumber

lengthnumber

udboolean
  • true

suggestionsarray of strings


Code Block
languagejs
themeEmacs
titleType: Spelling
{
    "result": [
        {
            "matches": [
                {
                    "type": "spelling",
                    "offset": X1,
                    "length": Y1,
					"ud": true,
                    "suggestions": ["..."]
                }
            ]
        }
    ]
}

...