2017 © Pedro Peláez
 

library json

Type safe json encoder/decoder

image

innmind/json

Type safe json encoder/decoder

  • Tuesday, May 8, 2018
  • by Baptouuuu
  • Repository
  • 0 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Json

Build Status codecov Type Coverage, (*1)

Type safe json encode/decoder, the goal is to not leave errors unchecked., (*2)

Installation

composer require innmind/json

Usage

use Innmind\Json\Json;

Json::encode(['foo' => 'bar']); // {"foo":"bar"}
Json::decode('{"foo":"bar"}'); // ['foo' => 'bar']
Json::decode('{]'); // will throw an exception (instead of returning false)

The Versions

08/05 2018

dev-master

9999999-dev http://github.com/Innmind/Json

Type safe json encoder/decoder

  Sources   Download

MIT

The Requires

  • php ~7.2

 

The Development Requires

json

08/05 2018

1.0.0

1.0.0.0 http://github.com/Innmind/Json

Type safe json encoder/decoder

  Sources   Download

MIT

The Requires

  • php ~7.2

 

The Development Requires

json

08/05 2018

dev-develop

dev-develop http://github.com/Innmind/Json

Type safe json encoder/decoder

  Sources   Download

MIT

The Requires

  • php ~7.2

 

The Development Requires

json