I would like to know what is wrong with my function, because by assigning obj = data , it saves object object , the date value being a JSON returned by WEBSERVICE.
Date value:
[{"descricao":"Lorem ipsum dolor sit amet, consectet...
I have a JSON Array something like this:
[{ id: 1, total: 50.00 }, { id: 2, total: 70.00 }]
I would like to know how to add / change an item to a id only. Like it was in SQL.
For example, in the case I wanted to change the...
Can you keep the order of items that came in JSON of a API ?
This is how it comes from API :
{"6":"Abadia","218":"Abel Reis","44":"Alexandre Campos - Jardim","13":"Alfredo Freire I","174":"Alfredo Freire II","186":...
I'm having the following problem, I need to get the filtered objects in the Controller to export to report. I'm sending json using Ajax, but I do not know if the object is being sent to Controller, I gave a console.log (response) and the followi...
I have a cURL statement that invokes a WS. The response from this WS is stored through:
$reference = var_dump(json_decode($exec, true));
return $reference;
Given that I have this in one function, in the other file I read as follows:
$var...
What about people? I'm new here, could you help me ... is returning "NaN"!
<!DOCTYPE html>
<html>
<body>
<h1>Customers</h1>
<div id="id01"></div>
<script>
var xmlhttp = new XMLHtt...
Next I have a variable in client.php that prints:
[{"CODIGO_CLIENTE":3,"CGC":"78.079.128\/0001-80","RAZAO":"Cliente 2","FANTASIA":"Cliente 2","TELEFONE1":"+99(99)9999-9999"},
{"CODIGO_CLIENTE":2,"CGC":"14.617.787\/0001-40","RAZAO":"Cl...
I got Retrofit the Drivers field from the following json:
{
"Drivers": [
{
"DriverID": 0,
"Latitude": -23.642276336,
"Longitude": -46.634615118
},
{
"DriverID": 1,
"Latitude": -23.64227916,
"Lo...