thru.io/json-pretty-printer

A simple, well-tested JSON pretty printer and related stuff

1.0.0 2015-02-18 10:41 UTC

This package is auto-updated.

Last update: 2024-10-24 06:30:38 UTC


README

Build Status Code Climate Test Coverage

Install

  1. Use Composer to install JsonPrettyPrinter into your project:

    composer require thru.io/json-pretty-printer
  2. Use it as follows:

    use \Thru\JsonPrettyPrinter\JsonPrettyPrinter;
    
    $json = JsonPrettyPrinter::Json($object);