crossjoin/json (packagist): JSON decoder and encoder for PHP with full Unicode support following RFC 7159. Besides UTF-8 it also supports JSON in UTF-16BE, UTF-16LE, UTF-32BE and UTF-32LE encoding. And, as suggested by the RFC for better interoperability, it can also ignore byte order marks (BOMs) when parsing JSON.
Keywords: php|json|utf-8|unicode|json_last_error_msg|json_encode|json_decode|utf-16|rfc7159|utf-32|json_last_error|UTF-16BE|UTF-16LE|UTF-32BE|UTF-32LE|RFC 7159