Weave Code
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

Serialize and unserialize PHP values to JSON (like serialize()), including scalars, arrays, objects, recursion, stdClass extra properties, nested data, and binary. Optional closure support via third party. PHP 7.2+; avoid 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.
calliostro/spotify-bundle
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle