alexeyshockov/json-wrapper

json_encode() and json_decode() wrapper with better error handling

Maintainers

Package info

github.com/alexeyshockov/php-json-wrapper

Homepage

pkg:composer/alexeyshockov/json-wrapper

Statistics

Installs: 1 039

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 1

0.1.0 2016-07-12 10:28 UTC

This package is auto-updated.

Last update: 2026-03-09 01:14:24 UTC


README

json_encode() and json_decode() wrapper with better error handling

PHP 7.3 and above

Since version 7.3 you PHP supports JSON_THROW_ON_ERROR constant to change the default behaviour to exceptions. No need for additional libraries anymore.