Questions tagged as 'json'

2
answers

Delete JSON element with a value

I have a JSON that I get from localStorage where I keep the names of the players and their scores for a game, then I receive them in 2 separate variables to be able to modify the score and increase its value if the player wins. What I want to do...
asked by 09.06.2018 / 17:51
0
answers

setBackground when the back returns a different data

I have a problem in recyclerView that makes a call to a server and returns some data to me. What I am trying to do is that when one of those data changes I change the background of all the items that contain that data different...
asked by 06.06.2018 / 11:27
0
answers

Arming routes from a json angularjs

I have the complete paths (controllers, template, url) in a json and I have to assemble it from AngularJS, configure it from the app.config () How do I do it? If I can not have a $ http in the app.config () Thanks     
asked by 06.06.2018 / 17:21
0
answers

I can not open a modal using angularjs and bootstrap, Error 14800

I am new to web programming, especially in front end, well, the fact is that I try to make a page. that shows the list of books, that has a button to add books, and that when you click on it, there is a modal that allows you to fill in the data,...
asked by 06.06.2018 / 03:32
0
answers

Join two multidimensional JSONs in 1

I am consuming a hotel api, this one throws me a json from which I filter those 5 stars then the 4 stars and so on but at the end of doing the filters I want to join them all in a single JSON . Followed by JSON : 0: attributes:{...
asked by 04.06.2018 / 05:33
2
answers

Print array in JSON

I need an array that I put into a JSON and store it in localStorage can add a value to an array that is already saved Here is where I keep the arrangement: var palabra = $("#txtpalabra").val(); var pista = $("#txtpista").val();...
asked by 06.06.2018 / 19:18
1
answer

Problem when passing a Json via onclick to javscript

I am trying to send an array using onclick in a function, for that I use json. But it marks me a syntax error when I send it. By the way, once I get the json, how can I go through his data? Greetings. Error by console. Code: <td...
asked by 02.06.2018 / 23:09
0
answers

android mapping JSONObject

I am downloading an object from a service with jsonObjectRequest and this object contains a byte [] in its properties, but in the class I use to map (in android), it does not let me pick up a byte []. This is the constructor of the class: publ...
asked by 31.05.2018 / 18:44
0
answers

Invalid JSON response with jQuery Datatables

I have a problem that when loading data from a MySQL database with PHP, it does not show the data, which I send with a JSON according to documentation of Datatables loading data with Ajax then I present my files. Below I present my files....
asked by 12.06.2018 / 03:22
0
answers

Problem getting JSON from a page with android studios

Good I'm trying to get the json of a page but instead I get all the html    android studios program import android.app.ProgressDialog; import android.app.SearchManager; import android.content.Intent; import android.os.AsyncTa...
asked by 01.06.2018 / 18:16