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

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

Json Serializer for PHP serializes PHP variables to JSON and restores them, much like serialize()/unserialize() but with a JSON-encoded string as output. It supports scalars, null, arrays, objects, binary data, nested structures, and properties not declared on the original class (e.g. stdClass). Requires PHP >= 7.2.

Security warning: never unserialize untrusted input. The embedded @type key names the class to restore, so an attacker controlling the payload can instantiate arbitrary autoloadable classes, including ones with risky __wakeup() behavior.

  • Encode/decode scalars, null, arrays and objects
  • Binary data support (null bytes as array keys unsupported)
  • Nested and recursive object serialization
  • Undeclared/dynamic property support
  • Closures via a third-party library
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.
ably/pubsub-server
mstfkhazaal/defender
mfonte/base62x
karnoweb/metapilot
tobya/bcsapiwrapper
swalker2/cpanel
vish4395/laravel-translation-manager
morningtrain/economic
teksite/systeminfo-laravel
atomcms/voting
run6/weather
siokas/laravelembeddirectives
adamlien/pkuuids
gilsonsouza/lara-doc-generator
manelgavalda/enrollment_mobile
unabomber/timezone
delatbabel/contacts
astritzeqiri/g-recaptcha
kevinongko/laravel-genode
developeruz/laravel-analytics