Line 33: |
Line 33: |
| With "--format raw": | | With "--format raw": |
| <pre> | | <pre> |
− | #<magic value>
| + | { "magic" : "FOO", "entries" : [{"foo": "bar", "bar": "foo", "extra": "abc"}, {"foo": "bar", "bar" : "foo", "extra" : "abc"} ]} |
− | #0
| |
− | <pb entry in text_format>
| |
− | ....
| |
− | #N
| |
− | <pb entry in text_format>
| |
| </pre> | | </pre> |
| | | |
− | With "--format nice": | + | With "--format nice"(default for stdout): |
| <pre> | | <pre> |
− | #<magic name>
| + | { |
− | #0 <pb entry name>
| + | "magic" : "FOO", |
− | <pb entry in text_format with tabs>
| + | "entries" : [ |
− | ....
| + | { |
− | #N <pb entry name>
| + | "foo" : "bar", |
− | <pb entry in text_format with tabs>
| + | "bar" : "foo", |
| + | "extra" : "abc" |
| + | }, |
| + | { |
| + | "foo" : "bar", |
| + | "bar" : "foo", |
| + | "extra" : "abc" |
| + | } |
| + | ] |
| + | } |
| </pre> | | </pre> |
| | | |