Pretty print JSON sample files
Pretty print JSON samples to follow JSON formatting conventions. Change-Id: Ibcc9073fe79198dc1a6fab19e11b8b60195e4bc9 Partial-Bug: #1217503
This commit is contained in:
parent
f862586cb2
commit
66f6363b99
|
@ -1,17 +1,17 @@
|
|||
[
|
||||
{
|
||||
"path":"segments/terrier-jpg-one",
|
||||
"etag":"f7365c1419b4f349592c00bd0cfb9b9a",
|
||||
"size_bytes":4000000
|
||||
},
|
||||
{
|
||||
"path":"segments/terrier-jpg-two",
|
||||
"etag":"ad81e97b10e870613aecb5ced52adbaa",
|
||||
"size_bytes":2000000
|
||||
},
|
||||
{
|
||||
"path":"segments/terrier-jpg-three",
|
||||
"etag":"00b046c9d74c3e8f93b320c5e5fdc2c3",
|
||||
"size_bytes":1000
|
||||
}
|
||||
{
|
||||
"path": "segments/terrier-jpg-one",
|
||||
"etag": "f7365c1419b4f349592c00bd0cfb9b9a",
|
||||
"size_bytes": 4000000
|
||||
},
|
||||
{
|
||||
"path": "segments/terrier-jpg-two",
|
||||
"etag": "ad81e97b10e870613aecb5ced52adbaa",
|
||||
"size_bytes": 2000000
|
||||
},
|
||||
{
|
||||
"path": "segments/terrier-jpg-three",
|
||||
"etag": "00b046c9d74c3e8f93b320c5e5fdc2c3",
|
||||
"size_bytes": 1000
|
||||
}
|
||||
]
|
|
@ -1,17 +1,17 @@
|
|||
[
|
||||
{
|
||||
"path":"mycontainer/objseg1",
|
||||
"etag":"0228c7926b8b642dfb29554cd1f00963",
|
||||
"size_bytes":1468006
|
||||
},
|
||||
{
|
||||
"path":"mycontainer/pseudodir/seg-obj2",
|
||||
"etag":"5bfc9ea51a00b790717eeb934fb77b9b",
|
||||
"size_bytes":1572864
|
||||
},
|
||||
{
|
||||
"path":"other-container/seg-final",
|
||||
"etag":"b9c3da507d2557c1ddc51f27c54bae51",
|
||||
"size_bytes":256
|
||||
}
|
||||
{
|
||||
"path": "mycontainer/objseg1",
|
||||
"etag": "0228c7926b8b642dfb29554cd1f00963",
|
||||
"size_bytes": 1468006
|
||||
},
|
||||
{
|
||||
"path": "mycontainer/pseudodir/seg-obj2",
|
||||
"etag": "5bfc9ea51a00b790717eeb934fb77b9b",
|
||||
"size_bytes": 1572864
|
||||
},
|
||||
{
|
||||
"path": "other-container/seg-final",
|
||||
"etag": "b9c3da507d2557c1ddc51f27c54bae51",
|
||||
"size_bytes": 256
|
||||
}
|
||||
]
|
|
@ -62,16 +62,16 @@ Date: Fri, 17 Jan 2014 15:59:33 GMT</computeroutput>
|
|||
</screen>
|
||||
<para>The response, in JSON format, is:</para>
|
||||
<programlisting language="json">[
|
||||
{
|
||||
"count":0,
|
||||
"bytes":0,
|
||||
"name":"janeausten"
|
||||
},
|
||||
{
|
||||
"count":1,
|
||||
"bytes":14,
|
||||
"name":"marktwain"
|
||||
}
|
||||
{
|
||||
"count": 0,
|
||||
"bytes": 0,
|
||||
"name": "janeausten"
|
||||
},
|
||||
{
|
||||
"count": 1,
|
||||
"bytes": 14,
|
||||
"name": "marktwain"
|
||||
}
|
||||
]</programlisting>
|
||||
<note>
|
||||
<para>The carriage returns in the cURL request examples are
|
||||
|
|
Loading…
Reference in New Issue