HDFS-10833. Fix JSON errors in WebHDFS.md examples.

(cherry picked from commit cbd909ce2a)
(cherry picked from commit 40eab77562)
This commit is contained in:
Andrew Wang 2016-09-02 14:50:34 -07:00
parent 16c166249c
commit 9b7e079d4b
1 changed files with 5 additions and 5 deletions

View File

@ -1163,7 +1163,7 @@ All operations, except for [`OPEN`](#Open_and_Read_a_File), either return a zero
{ {
"entries": "entries":
{ {
"type": "array" "type": "array",
"items": "items":
{ {
"description": "ACL entry.", "description": "ACL entry.",
@ -1187,7 +1187,7 @@ All operations, except for [`OPEN`](#Open_and_Read_a_File), either return a zero
"description": "True if the sticky bit is on.", "description": "True if the sticky bit is on.",
"type" : "boolean", "type" : "boolean",
"required" : true "required" : true
}, }
} }
} }
} }
@ -1206,7 +1206,7 @@ All operations, except for [`OPEN`](#Open_and_Read_a_File), either return a zero
"type" : "array", "type" : "array",
"items": "items":
{ {
"type" " "object", "type" : "object",
"properties": "properties":
{ {
"name": "name":
@ -1237,7 +1237,7 @@ All operations, except for [`OPEN`](#Open_and_Read_a_File), either return a zero
"XAttrNames": "XAttrNames":
{ {
"description": "XAttr names.", "description": "XAttr names.",
"type" : "string" "type" : "string",
"required" : true "required" : true
} }
} }
@ -1606,7 +1606,7 @@ See also: [`GETHOMEDIRECTORY`](#Get_Home_Directory), [Path](../../api/org/apache
"javaClassName": //an optional property "javaClassName": //an optional property
{ {
"description": "Java class name of the exception", "description": "Java class name of the exception",
"type" : "string", "type" : "string"
} }
} }
} }