~james-page/simplestreams/virt-openstack

Viewing all changes in revision 406.

  • Committer: Scott Moser
  • Date: 2015-10-29 16:13:25 UTC
  • mfrom: (403.1.1 json-output)
  • Revision ID: smoser@ubuntu.com-20151029161325-fk9cgyqboew48yq5
Add JSON output format to sstream-query.

adds a new JSON output format to sstream-query, as an alternative to
--pretty or the default stringified dicts.

Supporting JSON makes sense. It's well-known, expressive, and is also the
native storage format of simplestreams. Juju QA are using JSON to generate
streams, so --json lets us avoid a translation step.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: