Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor fixes in Response structure section.

...

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

The table below represents 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": ["..."]
                }
            ]
        }
    ]
}

...