Answers for "jquery json encode"

41

Javascript object to JSON string

var person={"first_name":"Tony","last_name":"Hawk","age":31};
var personJSONString=JSON.stringify(person);
Posted by: Guest on July-23-2019
0

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);
?>
Posted by: Guest on March-16-2021
0

json encode

<?php
$age = array("Peter"=>35, "Ben"=>37, "Joe"=>43);

  
echo json_encode($age);
?>
Posted by: Guest on March-16-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language