Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin 2 роки тому
..
Serializer checkin 2 роки тому
Test/Unit checkin 2 роки тому
JsonConverter.php checkin 2 роки тому
JsonValidator.php checkin 2 роки тому
README.md checkin 2 роки тому
SerializerInterface.php checkin 2 роки тому

README.md

Serialize

Serialize library provides interface SerializerInterface and multiple implementations:

  • Json - default implementation. Uses PHP native json_encode/json_decode functions;
  • JsonHexTag - default implementation. Uses PHP native json_encode/json_decode functions with JSON_HEX_TAG option enabled;
  • Serialize - less secure than Json, but gives higher performance on big arrays. Uses PHP native serialize/unserialize functions, does not unserialize objects on PHP 7.

Using Serialize implementation directly is discouraged, always use SerializerInterface, using Serialize implementation may lead to security vulnerabilities.