Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Json Serializer Laravel Package

zumba/json-serializer

A PHP library that serializes variables and objects to JSON and restores them, including binary data, nested objects, recursion, and closures. Requires PHP 7.2+; never unserialize untrusted input.

View on GitHub
Deep Wiki
Context7
3.1.0

Added

  • Support of UnitEnum and BackedEnum deserialization (PHP > 8.1). Thanks @marcimat
  • Support to multiple closure serializers
  • Built in closure serializer using opis/closure

Fixed

  • Fixed deprecated with DateTimeImmutable deserialization with PHP 8.2
3.0.0

Fixed

  • Fixed DateTime & DateTimeImmutable serialization in PHP 7.4+. Thanks @przemyslaw-bogusz
  • Testing for PHP 7.3 and 7.4

Changed

  • Minimum PHP version supported is now 7.0
  • Updated PHPUnit version to 6.x

Removed

  • Deprecated namespace Zumba\Util
2.2.0

Added

  • Allowing to change the undeclared property unserialization mode
2.1.0

Changed

  • Throwing exception if cannot encode JSON when serializing
  • Throwing exception if cannot decode JSON when unserializing

Deprecated

  • Changed namespace from Zumba\Util to Zumba\JsonSerializer
2.0.1

Fixed

  • Fixing float serialization on i18n locales
2.0.0

Added

  • Support PHP closures serialization

Removed

  • Dropped support to PHP 5.3

Changed

  • Documentation improvements
  • Support to PHP built-in support to float numbers without decimal points
  • Using PSR-2 and PSR-4
1.0.1

Fixed

  • Fixed serialization of float numbers without decimal points
1.0.0

Added

  • Encode/Decode of scalar, null, array
  • Encode/Decode of objects
  • Support nested serialization
  • Support not declared properties on the original class definition (ie, properties in stdClass)
  • Support object recursion
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log