Mercurial > hg > config
diff python/jsonex.py @ 689:6f48a3e5ab41
STUB: python/jsonex.py
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Mon, 02 Jun 2014 11:25:31 -0700 |
parents | e50a95358db3 |
children | 80c47cc35f37 |
line wrap: on
line diff
--- a/python/jsonex.py Mon Jun 02 11:21:46 2014 -0700 +++ b/python/jsonex.py Mon Jun 02 11:25:31 2014 -0700 @@ -32,9 +32,9 @@ if options.object: for o in options.object: - foo = arg.split('.') # split into objects - # TODO: split into slice notation - pass # TODO + base = obj + for part in o.strip().split('.'): # split into objects + raise NotImplementedError('TODO') else: print json.dumps(obj, indent=2, sort_keys=True)