TIL that You can spot base64 encoded JSON, certificates, and private keys

A colleague spotted base64-encoded JSON in a long string of gibberish without any tools. I was amazed, until he explained how anyone can do it.