| 83 | |
| 84 | |
| 85 | class JsonPrinter(Configurable): |
| 86 | indent = Int(None, allow_none=True).tag(config=True, argcompleter=_indent_completions) |
| 87 | |
| 88 | def print(self, obj): |
| 89 | print(json.dumps(obj, indent=self.indent)) |
| 90 | |
| 91 | |
| 92 | class EnvironPrinter(Configurable): |