Closed Maijin closed 8 years ago
Oh I didn't know this one. On the other hand, it doesn't make a big difference right? Just returns the parsed json dict.
Using r2.cmd I can choose my own parser (simplejson
in this case).
it just looks less ugly... json.loads(self.r2.cmd("ij").replace("\\", "\\\\"))
wtf
This handles this bug that I reported.
It is fixed in radare2 master now, but there may be people using the release version or previous versions so I kept it.
I would definitely recommend using r2.cmdj, that's all ;P
Stop using r2.cmd when using Json command ! Use r2.cmdj