Table of Contents

About

In php, you can:

Snippet

Parse a string as JSON

// Otherwise you get an object ie $arrayFormat-> syntax
$arrayFormat = true;
$json = json_decode($match, $arrayFormat);
// Decodage problem
if ($json == null) {
     // Error
}