Questions tagged as 'json'

1
answer

Android - Update ArrayAdapter from a new array

I need to know how to update a ListView from an own ArrayAdapter by means of the array that I sent it, I explain: I have this JSON: [{"id":"1","user":"117270122","mensaje":"Mensaje de prueba","condicion_visto":"0"},{"id":"2","user":"117270122...
asked by 16.05.2018 / 00:19
1
answer

How to make reference in package.json to another module of my project?

Hello my application created with node.js I have several modules: the database, the Api, customer service, etc ... Well, in some I have to refer to another in the package.json file but I do not know if I'm doing it right, because when I start li...
asked by 23.05.2018 / 15:44
2
answers

consume data from a JSON file in angular2 +

I need to get data from an external file, for example leave 2 service paths in an external file inside the assets folder, then from the servicio.ts get those URLs from the external file. is it possible to obtain data from an extern...
asked by 11.05.2018 / 04:51
2
answers

Help! Problems filling a table dynamically with AJAX

I have tried to fill a table with data that is in a database, all through ajax. The query with the database is fine, like the sending of that data from a php file to a js file through ajax, the problem is filling the table with that data, only o...
asked by 01.05.2018 / 00:09
2
answers

Return two data with AJAX and JSON

I have a form that was valid through AJAX. I need ajax (from the file va_registro.php) to return me two data at the same time, so I'm using JSON. I can not get back my data. registro.php - > This is the Form <!--Formulario de regis...
asked by 05.05.2018 / 18:59
1
answer

Problems with AJAX and JSON Fatal error: Uncaught Error: Call to undefined function jason_encode ()

veran I have a problem sending and receiving data by AJAX. I tried to make a user login using ajax but it did not work for me. The code I have is the following: HTML FORM AND AJAX FUNCTION: <!DOCTYPE html> <html lan...
asked by 21.04.2018 / 23:35
1
answer

Help to navigate levels of a JSON with JavaScript

I would like to know how I can go through this Array with JavaScript until I reach the level that says item highlighted with yellow { "SOAP-ENV:Envelope": { "$": { "SOAP-ENV:encodingStyle": "http://schemas.xmlsoap.org/soap/encoding...
asked by 23.05.2018 / 21:18
2
answers

How to display json data in HTML

My problem is this, I need to print the data of a json in HTML, what I need to do is have a search input by ID or identification number, and that by pressing search I will show in a form the data that match with that number to be able to edit th...
asked by 16.03.2018 / 08:28
1
answer

Get JSON data with GSON in Java

I need to get the data progress and tres (see example below) but I do not know how. Also in some occasions I will have to recover more data of the type class without knowing in advance how many will be. I'm looking at...
asked by 20.02.2018 / 18:33
1
answer

org.hibernate.LazyInitializationException: could not initialize proxy - not Session Solved

if I have a class "City" and a "Person" each with its attributes but Hibernate in the class "Person" instead of int IdCity works with < strong> City getCity in the get and set and while adding an attribute of type Set Person > Person...
asked by 14.02.2018 / 23:17