Yes, and not only that. It also inherently insecure, while JSON is together with msgpack the only fast and secure serialization format out there. The problem is the encoding of objects and code without any checksumming, so it can be trivially tampered with, leading to very nice exploits, mostly remotely.<p>See e.g. <a href="https:&#x2F;&#x2F;metacpan.org&#x2F;pod&#x2F;Cpanel::JSON::XS#SECURITY-CONSIDERATIONS" rel="nofollow">https:&#x2F;&#x2F;metacpan.org&#x2F;pod&#x2F;Cpanel::JSON::XS#SECURITY-CONSIDERA...</a>
I need to add ion to this security matrix.<p>YAML does most of those and does more and can be made quite secure by limiting the allowed types to the absolute and trusted minimum, but this e.g. not implemented in the perl, only the python backend. By default YAML is extremely insecure.<p>There are more new readable and typed JSON variants out there. E.g. jzon-c should be faster than ion, but there are also Hjson and SJSON. See <a href="https:&#x2F;&#x2F;github.com&#x2F;KarlZylinski&#x2F;jzon-c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;KarlZylinski&#x2F;jzon-c</a>