Questions tagged as 'json'

1
answer

Result AsyncTask

I have rephrased the question again to try to better clarify the need for my situation: I need to run between the following activity's activityaa, by clicking the button, the application sends an information to a php page, which from this inf...
asked by 16.03.2018 / 01:28
1
answer

Send variables via GET by php Ajax

I'm creating a page in PHP that does a query in a JSON / PHP via ajax and I need it to send to the URL, form variables so I can do a query in this JSON / PHP. HTML: <form method="GET" name="formularioBusca"> <input type="text...
asked by 10.03.2018 / 15:45
1
answer

Mysql return JSON

I'm trying to make this example but it's giving the error: # 1582 - Incorrect parameter count in the call to native function 'JSON_OBJECT' SELECT JSON_OBJECT('City', Name, 'Dist', District, 'Pop', Population) FROM City; sql example returni...
asked by 21.02.2018 / 13:01
1
answer

Default Value Set @Html.DropDownListFor via Json - ASP.NET MVC5

I'm doing a time-stamping page using ASP.NET MVC5. The user enters the marking data according to the print below: However,incaseofanerrorintheregistrationofthetag,thecontrollerreturnsthemodeltoviewwiththedataenteredbytheuser,usingtheconceptofmo...
asked by 21.02.2018 / 02:25
1
answer

How to pass items from an [object Object] to the parent json

Hello, the server is returning me the following json this.itens = { id: '', data: '', hora: '', cliente:{ nome: '', cpf: '' } } I need the client data not to be in a second json but in a field ex clienteNome: ''...
asked by 24.06.2018 / 23:55
1
answer

Submit a POST request with java

I need to send a POST request to the following address which is an Amazon API:    link And in this request a JSON has to be sent: { "token": "633cc5hs58512b012104c7408d60d19930d5514", "email": "[email protected]", "answe...
asked by 16.03.2018 / 15:28
1
answer

doubts with json / array nesting

I have this json { "MedPaciente": [ { "ProdutoModel": { "LaboratorioModel": { "id_laboratorio": 7951, "nome": "BOEHRINGER INGELHEIM", "data_cad": "28/12/2017",...
asked by 17.02.2018 / 17:48
2
answers

List Json in a Select with Jquery

I am not able to list the data of a Json in a Select My Jquery code looks like this: $("#cidades").change(function () { var options_escolas = ''; var cidade = $("#cidades").val(); $.ajax({ url: 'api_es...
asked by 26.02.2018 / 21:15
1
answer

Ajax and JSON dataType

When I do this, return is a parsererror. $.ajax({ type: "GET", url: "servicos.php", data: "id=1", dataType: 'json', ==========================> Essa linha bem aqui success: function(retorno,status){ // retorno = JSON...
asked by 03.04.2018 / 18:31
1
answer

Can ExpressJS be used in production?

I recently saw a course where ExpressJS was used for backend testing in JSON for an application and I was amazed, but I came up with several questions: Could it be used in production? Can an alternative be the most used technologies currently in...
asked by 07.02.2018 / 18:13