When the command return nothing e.g. '\n' the json loader complains about it. Let's just return None in those cases. That means that rizin was not able to give back any information, which is different from [], that means that the information are there but there are none.
Fixes https://github.com/rizinorg/rz-pipe/issues/31#issuecomment-945562491
When the command return nothing e.g.
'\n'
the json loader complains about it. Let's just return None in those cases. That means that rizin was not able to give back any information, which is different from[]
, that means that the information are there but there are none.