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
Jump to navigation
Jump to search
The
The
The
The
(Processing Model) |
(→Root Object: url) |
||
Line 3: | Line 3: | ||
==Root Object== | ==Root Object== | ||
The root object is a JSON ''object''. It has two mandatory keys, <code>"messages"</code> and <code>"result"</code>, and | The root object is a JSON ''object''. It has two mandatory keys, <code>"messages"</code> and <code>"result"</code>, and three optional keys, <code>"url"</code>, <code>"source"</code> and <code>"parse-tree"</code>. | ||
The values for these keys are described below. | The values for these keys are described below. | ||
Line 12: | Line 12: | ||
====Message ''object''s==== | ====Message ''object''s==== | ||
===The <code>"url" ''string''</code> | |||
===The <code>"result"</code> ''object''=== | ===The <code>"result"</code> ''object''=== |
Revision as of 16:04, 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 three optional keys, "url"
, "source"
and "parse-tree"
.
The values for these keys are described below.
The "messages"
array
The this array is an ordered collection of zero or more message objects.
Message objects
===The "url" string