json.encode() code example
Example 1: json_encode()
json_encode(['name' => 'Jake', 'country' => 'Philippines'])
Example 2: json encode
<?php
$age = {"numberPlate":"CPV453","documentType":null,"documentNumber":"12962552","email":"[email protected]","phone":"","entityId":"45500","contactId":"7825235","respCaptcha":"","runtVehicleConfiguration":null}
echo json_encode($age);
?>