2017 © Pedro Peláez
 

library json

json_encode/json_decode wrapper

image

thetribe/json

json_encode/json_decode wrapper

  • Wednesday, June 7, 2017
  • by jvasseur
  • Repository
  • 2 Watchers
  • 0 Stars
  • 1,347 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 13 % Grown

The README.md

thetribe/json

thetribe/json is a small wrapper around the json_* fonctions that does two things: - Convert errors to exceptions - Normalize parameters, (*1)

Install

Install thetribe/json using Composer., (*2)

composer require thetribe/json

Usage

Decoding

<?php

use function TheTribe\JSON\decode;

$value = decode($json, $options, $depth);

Encoding

<?php

use function TheTribe\JSON\encode;

$json = encode($value, $options, $depth);

The Versions

07/06 2017

dev-master

9999999-dev

json_encode/json_decode wrapper

  Sources   Download

MIT

The Requires

  • ext-json *
  • php ^5.5|^7.0

 

by Jérôme Vasseur

07/06 2017

v0.1.1

0.1.1.0

json_encode/json_decode wrapper

  Sources   Download

MIT

The Requires

  • ext-json *
  • php ^5.5|^7.0

 

by Jérôme Vasseur

14/04 2017

v0.1.0

0.1.0.0

json_encode/json_decode wrapper

  Sources   Download

MIT

The Requires

  • ext-json *
  • php ^5.5|^7.0

 

by Jérôme Vasseur