braesident/jdump

Create a dump of variables and output them as a JSON string.

1.0.3 2024-08-11 19:25 UTC

This package is auto-updated.

Last update: 2025-07-11 21:43:09 UTC


README

Create a dump of variables like var_dump and output them as a JSON string.

If the variable is a Boolean or a number, it is returned directly. Other types are returned as application/json.

install

composer require braesident/jdump

howto

jdump($anyVar);