Searched refs:to_json (Results 1 – 2 of 2) sorted by relevance
31 const char *to_json; variable41 OPT_STRING(0, "to-json", &to_json, NULL, "Convert to JSON format"),61 if (to_json && to_ctf) { in cmd_data_convert()66 if (!to_json && !to_ctf) { in cmd_data_convert()71 if (!to_json) { in cmd_data_convert()77 if (to_json) in cmd_data_convert()78 return bt_convert__perf2json(input_name, to_json, &opts); in cmd_data_convert()
61 def to_json(self): member in Node133 stacks_json = json.dumps(self.stack, default=lambda x: x.to_json())