A PHP Helper class for reading and writing JSON files.

0.1.4 2016-02-24 17:25 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:40:35 UTC


README

A PHP Helper class for reading and writing JSON files.

Packagist Version GitHub license Build Status

Install

$ composer require radioactivehamster/json

Usage

<?php

use RadHam\Json;

$file = 'hello-world.json';
$json = Json::parseFile($file);

Json::writeFile('my-hello-world.json', $json);

License

The MIT License (Expat). See the license file for details.