xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* xl list -l produces invalid output
@ 2012-08-14 12:17 Bastian Blank
  0 siblings, 0 replies; only message in thread
From: Bastian Blank @ 2012-08-14 12:17 UTC (permalink / raw)
  To: xen-devel

xl list -l changed output recently. From SXP, often broken, it switched
to JSON---or better: kind-of-JSON.

JSON is defined in RFC 4627. It includes the definition:
| JSON-text = object / array
| object = begin-object […] end-object
| array = begin-array […] end-array

The output of xl list -l does not dump as one object. Instead it
consists of lines, each with one object. No real parser will ever read
this.

Bastian

-- 
Conquest is easy. Control is not.
		-- Kirk, "Mirror, Mirror", stardate unknown

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-14 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-14 12:17 xl list -l produces invalid output Bastian Blank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).