Questions tagged as 'json'

0
answers

Listview and other elements are lost in some versions

I have a tab activity with a listview, which makes a query json. When I test it in the emulator everything works fine, however in some devices the listview is not displayed, which may be happening? This is my Res / Layout / movements <...
asked by 13.10.2017 / 05:22
1
answer

How to load JavaScript Data Only when selecting a value from a Listboxt?

I need to load the data that is inside a Javascript, but only when selecting the value of a listboxt, because if it is not this way, it will give me an error in the system because the data inside the javascript must be filtered by a parameter. I...
asked by 16.10.2017 / 17:03
1
answer

Why do I get this error when sending JSON from AJAX to JAVA SPRING MVC?

Good, two days ago I'm going crazy with this problem. This object json sent as an example: {"listado": [{"pos":0,"idfact":30,"idprod":1,"idremito":29,"cant":1,"descripadic":"","precio":55,"subtotal":55},{"pos":1,"idfact":30,"idprod":...
asked by 30.09.2017 / 17:04
1
answer

Datatable with jquery

Good first of all, I'm trying to fill a table with jquery and Datatable. I've already read several tutorials and nothing, I do not fill the table. Below I will put my codes: server-side code with django @login_required def activos_mostrar(r...
asked by 03.10.2017 / 08:37
2
answers

Problem loading json data in a datatable

Good afternoon, please support, by inserting the data of a json in php to a datatable does not show me, I have validated and the data if they are loaded in the php but by pulling them to a datatable does not show them. my getjson.php code...
asked by 01.10.2017 / 21:14
0
answers

How to pass variables from php to python and vice versa using json

Someone knows why only one part of a program is executed in python, when it is called by one in php, my codes are as follows <?php $x=$_GET['velocidad']; if(isset($_GET['der'])){ $y=1; $z=0;...
asked by 01.10.2017 / 20:47
1
answer

It does not show json values

I am trying to print some values that I send by post to a php script and I must return the sum of the two sent values, I have already proven that the php is receiving the values and that the json is storing the values. This is html code: &l...
asked by 02.10.2017 / 22:50
1
answer

Problems when reloading Datatable

Greetings to all, I have this problem with a Datatable table which in my .JS file I declare at the beginning of this way: var table; $(document).ready(function(){ table = $('#example').DataTable({ data: "", 'rowsGroup': [0...
asked by 26.09.2017 / 23:45
2
answers

How to deserialize a JSON string to an object in C #?

I receive a variable called productos that contains a list of products in JSON format in the following way: [{"codigo":"Servilleta","cantidad":2},{"codigo":"Papelhig","cantidad":1}] I need to deserialize it in order to use the...
asked by 06.09.2017 / 23:36
2
answers

How to show data in a pop-up from a json file

Hi, I have a json file running on a local server with two client tables and bonuses. The json file called clients with primary key id, I have it in a table. I am trying that when you click on the id of the clients table, it shows in a pop-up the...
asked by 18.09.2017 / 17:03