Questions tagged as 'json'

1
answer

I wanted to put the value of a variable string inside a variable array {} but it does not work:

/*valor padrao do array*/ var json={"nome":"joao","idade":13}; /*alterando valor do arrey para o valor da input*/ var input='{"nome":"pedro","idade":15}'; var json=input;     
asked by 17.07.2017 / 17:12
0
answers

Pagination with GSON (ANDROID)

I need to make a load on the end of the list, I have 20 items, when I get to the end, I need 20 more. Currently my Fragment that loads the ads is as follows below. new AsyncHttpClient().get(Constantes.URL_WS_BASE + "anuncio/list", n...
asked by 16.06.2017 / 05:27
2
answers

php array converted to json does not maintain order in mysql

I have an array of the following format: $vetor = array( 1=>array( pt-BR => array( 'pergunta1' => 'pergunta 1 em texto' 'resposta1' => 'resposta 1 em texto' ) ) 3=>array( pt-BR =&g...
asked by 03.07.2017 / 20:24
0
answers

Deserialization Json with DataContractJsonSerializer Null Pointer Exception

At first I'm auditioning if I can communicate right with the Wikipedia API. My first goal is to get data from the API, turn it into an object, and display something on the screen that demonstrates that this process is correct. I created a pac...
asked by 04.06.2017 / 18:15
0
answers

Error: $ http: baddata Bad JSON Data

I'm finishing developing a web application but I have a problem. All my application was developed in Python, Restful, AngularJS and ChartJs. I'm importing information from the database via python and saving in a vector as per the code below: d...
asked by 05.06.2017 / 04:26
0
answers

Searching for data in the TMDb API

I have a website about movies made in PHP (codeigniter), I intend to use the API of themoviedb.org website to search and show information for users. And the first time I use an API and would like to get some questions. I can already make the...
asked by 05.06.2017 / 04:04
0
answers

Update using Json HTML and PHP

Good morning I need to update the data that is in my index TheyareloadedasfollowsJavaScript$("document").ready(function () { function gerarFunctionario(obj) { return '<div class="col-md-4 col-sm-4 col-xs-12 profile_details">' +...
asked by 08.06.2017 / 18:19
0
answers

Google Maps API that Brings Nearby Places

Do you know of any Maps APIs that bring locations close to the informed location, such as commerce, leisure, etc.? Thanks in advance.     
asked by 07.06.2017 / 17:26
1
answer

PHP Excel response in JSON

I'm trying to get an answer to see if the PHPExcel PHPExcel file already downloaded, and then proceed with my algorithm. I tried to put in the phpexcel file the following line before the exit; echo json_encode(array("teste" => 1));...
asked by 05.06.2017 / 20:45
1
answer

Desktop and cloud system integration

I have a desktop system where I need to send some data to the Google Firebase service. I would like an idea of what would be the best way to send this data to Firebase , and it may happen sometimes that there is no internet connection. A...
asked by 02.07.2017 / 06:27