Questions tagged as 'json'

1
answer

Return in each getJSON - Jquery

I would like to know the following how do I give return in a function created by me in a situation below. For always returns undefined object, but when I give an alert it returns the normal object. function jjson(url){ var result...
asked by 30.04.2015 / 21:43
1
answer

Capturing value of an asynchronous function in NodeJS

Hello, I have a problem that I have not found a solution yet. I have an array of values, in which I make a scan and for each value execute function that makes a request to dynamodb and returns a JSON. This request is asynchronous. With...
asked by 27.01.2015 / 23:01
1
answer

API with Javascript

I would like to know how do I make an API in the javascript language to return data like JSON. I need it so I want to make a mobile application.     
asked by 30.07.2015 / 00:38
1
answer

ApplyUpdates on REST with Firedac

I'm doing a project that uses a REST server with FireDac . I use a Generic function to give my select but when I try to give my ApplyUpdates it does not give any error but the data is not reflected in the DB. My Applyupda...
asked by 01.07.2015 / 15:35
1
answer

How to work safely on an API + Android?

I need to develop an API that will receive the data of a user in json via $ _GET with PHP, which will do the verification of the data and return a true or false value for the Android application. I am currently using AES encryption to send js...
asked by 17.10.2014 / 19:09
4
answers

External Connection JSON WebService

I have a webservice in PHP feeding data from a array via JSON , to read in an HTML file. When I run the application having $.get with a local file it works, but when I change the path to read the same file on my server, it...
asked by 02.07.2014 / 02:35
1
answer

Json error org.json.JSONException: Unterminated object at character [closed]

I can not find the error when I get this json link look at what's coming out in the log 12-19 13:39:53.589 9554-9564/json.exemplo.com.cortecabelo E/DEVMEDIA﹕ Erro no parsing do JSON org.json.JSONException: Unterminated object at cha...
asked by 19.12.2014 / 16:44
2
answers

Json API access problem with React

I'm trying to access the following Json variable in an API: page[0].infoBloco[0].tabela[0].dados[0].fonte.nome I'm getting the error: TypeError: this.state.page[0] is undefined[Learn More] index.jsx:49 The Json API returns: [ {...
asked by 19.06.2018 / 15:36
1
answer

How to convert JSON to Object and find an id - JAVA

I need to convert a JSON to an object and navigate to an ID and just capture it. JSON Example: "{"_status":"sucesso","_dados":{"_sucesso":[{"idintegracao":"BkmRboZmaaa","situacao":"SALVO","TituloNumeroDocumento":"01012020","TituloNossoNumero":...
asked by 19.06.2018 / 18:12
1
answer

Access a list / array in a JSON URL

I am sending via JSON an array of strings, how can I access this array via url? example of some of the tests:    link    link {carrengado, erro} But it did not work, does anyone know how I can do this? [HttpGet] public HttpResponseMe...
asked by 19.09.2018 / 15:16