pySim-shell: Use poutput_json() whenever applicable
poutput_json() uses a customs JSONEncoder, and hence all JSON
prenting should go through it.
Change-Id: Ie023669e77311350ade4f8dbc65431e71b586052
diff --git a/pySim-shell.py b/pySim-shell.py
index 1d81eb8..cfba73f 100755
--- a/pySim-shell.py
+++ b/pySim-shell.py
@@ -322,7 +322,7 @@
path = opts.arg_list[0]
fcp_dec = self._cmd.rs.select(path, self._cmd)
self._cmd.update_prompt()
- self._cmd.poutput(json.dumps(fcp_dec, indent=4))
+ self._cmd.poutput_json(fcp_dec)
def complete_select(self, text, line, begidx, endidx) -> List[str]:
"""Command Line tab completion for SELECT"""