Questions tagged as 'json'

1
answer

Error with json in jquery

On my page I make two calls to json from the same API but different resources: function buscaInvocador($nombre) { $.ajax({ url: "https://euw1.api.riotgames.com/lol/summoner/v3/summoners/by-name/$nombre?api_key=RGAPI-de016c14-78f2-4...
asked by 05.04.2017 / 18:10
2
answers

"Activity has leaked window com.android.internal.policy. that was originally added here "with a login on an AsyncTask on Android

JSONParser.java import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.util.List; import org.apache.http.HttpEnti...
asked by 13.04.2017 / 04:01
0
answers

Big Data project start council [closed]

Good evening, I have been assigned a project and I do not really know where to start. By curl I receive a json, the client wants to save every second the received data. Right now they have a cron task that calls a php file that performs an...
asked by 30.03.2017 / 21:30
2
answers

Why are the records shown null? [closed]

Good morning have colleagues, I would like to know if anyone has any idea why the records are shown null. My JSON has data which are the following. This is the script I'm using to perform the internal SQLite database public s...
asked by 15.03.2017 / 19:16
1
answer

How to export a complex JSON response to XLS, with JavaScript?

Hello everyone! Do you know of any tool that can generate an XLS from a JSON response? I intend to make a query, without showing it in a table, and based on it elaborate the XLS as customizable as possible (similar to PHPEXCEL, where you h...
asked by 14.03.2017 / 00:43
0
answers

Knockout does not show the UI

I am trying to consume data from my API to show it in my HTML templates. I am using knockout.js for the client-server exchange. The following code contains the file cronologia.js , and an HTML file: function cronologiaViewMod...
asked by 16.03.2017 / 04:58
0
answers

How can heavy files be uploaded in javascript and PHP? [closed]

My question (as it appears in the title) How can heavy files be uploaded in javascript and PHP? What I want is, when a file exceeds 10MB will be partitions and upload to the server to PHP. To upload heavy files more than anything ...     
asked by 04.03.2017 / 05:45
1
answer

PHP does not print JSON array

Hi guys I need your help in a php module that I'm building, I just want to print a list of cities in JSON but when I do not print anything, I do not know what may be happening: this is my code: <?php require "../model/Ciudad.php"; $_POST...
asked by 20.02.2017 / 20:20
0
answers

PHP: Publish item mercadolibre API

I have been working with the api of mercadolibre, now I wanted to publish an item (I managed to do it from Advance REST client) from my application PHP , but I have no idea how to pass the parameters in Advance REST client. step writing the jso...
asked by 20.01.2017 / 22:29
1
answer

Get Array within Json

I have two tables on MySql one Blog and another Carouser unit on a foreing key. How can I get a json like the one I see at the end? An array inside an object. In PHP. CREATE TABLE 'Blog' ( 'blogId' int(11) NOT NULL, 'blogTitulo' varchar...
asked by 17.01.2017 / 11:08