2017 © Pedro Peláez
 

library json-decode-file

Read and decode JSON files

image

schnittstabil/json-decode-file

Read and decode JSON files

  • Sunday, March 25, 2018
  • by schnittstabil
  • Repository
  • 1 Watchers
  • 2 Stars
  • 1,124 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 3 % Grown

The README.md

jsonDecodeFile Build Status Coverage Status Scrutinizer Code Quality Code Climate

SensioLabsInsight, (*1)

Read and decode JSON files, (*2)

Handles UTF byte order marks (BOM), uses kherge/file-manager and seld/jsonlint to throw helpful File and JSON Exceptions respectively., (*3)

Install

$ composer require schnittstabil/json-decode-file

Usage

use function Schnittstabil\JsonDecodeFile\jsonDecodeFile;

try {
    $json = jsonDecodeFile('composer.json');
} catch (\KHerGe\File\Exception\ResourceException $err) {
    echo $err->getMessage(), PHP_EOL;
} catch (\Seld\JsonLint\ParsingException $err) {
    echo $err->getMessage(), PHP_EOL;
}

License

MIT © Michael Mayer, (*4)

The Versions

25/03 2018

dev-master

9999999-dev

Read and decode JSON files

  Sources   Download

MIT

The Requires

 

The Development Requires

file json validator exception parse decode file_get_contents bom json_decode utf

25/03 2018

2.1.0

2.1.0.0

Read and decode JSON files

  Sources   Download

MIT

The Requires

 

The Development Requires

file json validator exception parse decode file_get_contents bom json_decode utf

18/03 2018

2.0.1

2.0.1.0

Read and decode JSON files

  Sources   Download

MIT

The Requires

 

The Development Requires

file json validator exception parse decode file_get_contents bom json_decode utf

13/02 2017

2.0.0

2.0.0.0

Read and decode JSON files

  Sources   Download

MIT

The Requires

 

The Development Requires

file json validator exception parse decode file_get_contents bom json_decode utf

30/10 2016

1.1.0

1.1.0.0

Read and decode JSON files

  Sources   Download

MIT

The Requires

 

The Development Requires

file json validator exception parse decode file_get_contents bom json_decode utf

26/09 2016

1.0.0

1.0.0.0

Read and decode JSON files

  Sources   Download

MIT

The Requires

 

The Development Requires

file json validator exception parse decode file_get_contents bom json_decode utf