3 namespace GeoIp2\Compat;
5 // @codingStandardsIgnoreFile
8 * This interface exists to provide backwards compatibility with PHP 5.3
10 * This should _not_ be used by any third-party code.
14 if (interface_exists('JsonSerializable')) {
15 interface JsonSerializable extends \JsonSerializable
19 interface JsonSerializable
22 * Returns data that can be serialized by json_encode
25 public function jsonSerialize();