\jonrandoem\JSONMinJSONMin

JSONMin class

Summary

Methods
Properties
Constants
__construct()
getMin()
minify()
No public properties found
No constants found
No protected methods found
$original_json
$minified_json
N/A
No private methods found
No private properties found
N/A

Properties

$original_json

$original_json

The original JSON string

$minified_json

$minified_json

The minified JSON string

Methods

__construct()

__construct(string $json)

Constructor

Parameters

string $json

Some JSON to minify

getMin()

getMin()

Get the minified JSON

minify()

minify(string $json)

Static minify function

Parameters

string $json

Some JSON to minify