PHP - Json

Card Puncher Data Processing

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
}







Share this page:
Follow us:
Task Runner