A user account is required in order to edit this wiki, but we've had to disable public user registrations due to spam.

To request an account, ask an autoconfirmed user on Chat (such as one of these permanent autoconfirmed members).

Validator.nu JSON Output: Difference between revisions

From WHATWG Wiki
Jump to navigation Jump to search
(Start)
 
Line 2: Line 2:


==Root Object==
==Root Object==
The root object is a JSON ''object''. It has two mandatory keys, <code>"messages"</code> and <code>"result"</code>, and two optional keys, <code>"source"</code> and <code>"parse-tree"</code>.
The values for these keys are described below.
===The <code>"messages"</code> ''array''===
===The <code>"result"</code> ''object''===
===The <code>"source"</code> ''object''===
===The <code>"parse-tree"</code> ''object''===


==See also==
==See also==
*[[Validator.nu Web Service Interface]]
*[[Validator.nu Web Service Interface]]

Revision as of 15:53, 11 September 2007

This is a draft of a Web service response format for Validator.nu for clients that prefer JSON over XML.

Root Object

The root object is a JSON object. It has two mandatory keys, "messages" and "result", and two optional keys, "source" and "parse-tree".

The values for these keys are described below.

The "messages" array

The "result" object

The "source" object

The "parse-tree" object

See also