How can i convert a .bin (binary) to a .json (json) file with linux?

I don’t know how to convert a binary file back to a .json file. I have been searching for a while now and could not find a single answer, well, i did but none of which worked.

Can this be done in just a smiple command line code or does it need an application or something to do so? If you could help, that would be really good.

Thanks