Questions tagged as 'json'

1
answer

Project Android studio crashea app when finished listview load

good afternoon community, and happy year I would like to ask why when I finish loading a listview through a service in my project, instead of showing up, the app crashes directly? the test I'm doing with a G4 plus motorcycle (if you have somethi...
asked by 03.01.2018 / 22:41
3
answers

do a json of two directories in python

I hope you can help me, I have two directories that I want to join and make a json but I'm not staying. I put down what I am using. import json uno = { 'NoSol': '1192017', 'idDocumento': '4fd174c8-3439-4c80-9b1c-1c3e6721f827', 'St...
asked by 04.01.2018 / 19:56
1
answer

How to send a res.json () that is inside a for loop, using node (express) and ajax

I am working with NodeJS using express with this I have the routes such as POST and GET I connect to bd and make queries in the < strong> app , but I have a question about the following code: function getAllDatabas...
asked by 21.12.2017 / 15:20
0
answers

Update data in BD and show it again in recyclerview

Greetings this is my first post and the problem I have is that I am making an application in which I store images in webservice and as a response I get a array with the names of the images that were stored, this process and update...
asked by 20.12.2017 / 20:18
0
answers

Problem with getInt from jsonResponse

I have a Score.php file to update to a field called score of integer type in a mysql database: $con = mysqli_connect("localhost", "root", "", "basededatos"); $user_id = $_POST["id_user"]; $username = $_POST["username"]; $score= $_POST["score"...
asked by 19.12.2017 / 21:12
1
answer

Error saving data in firebase

I have a function that stores a JSON object as a parameter and breaks it down into two new objects: function insertDB(result){ var identification = "cadena"; for (var i = 0; i <= result.length; i++) { while(result[i].Identificacion != i...
asked by 12.12.2017 / 20:46
1
answer

Passing json a grafica hihgchart

Dear, I have a problem of how to pass a json encode for the part categories of the script. filter.php <?php require("../conexion.php"); mysqli_query($mysqli,"SET NAMES 'utf8'"); ?> <!DOCTYPE html> <html>...
asked by 19.12.2017 / 04:23
1
answer

Error showing data from an array of VueJS objects

I have an arrangement of objects called materials and when I try to put it in a VueJS component and then show it I get an error: <script> var app = new Vue({ el: '#app', data: { materias: [] }, created(){ var _this = this; var url = "s...
asked by 10.12.2017 / 04:39
0
answers

Django filtering last JSONField object

I'm trying to make a filter of a JSONField that has the following data: [ { "date": "2017-12-02T11:39:07.447677", "staff": "payment_in_process" }, { "date": "2017-12-02T11:39:12.700590", "state": "ASSIGNING", "staff":...
asked by 15.12.2017 / 17:08
1
answer

Send values obtained from a table to JSON and Ajax

The question is how can I send the data obtained from a table and pass it to Json then send it through Ajax $("#obtenerDatos").click(function(){ var mytabla = [] $("#mytable").find("tbody tr").each(function(index, el) { var tr = []...
asked by 17.12.2017 / 01:17