Questions tagged as 'json'

1
answer

How can I print the result of an ajax response in a table from javascript?

How can I print the result of an ajax response in a table from javascript? Currently I print it with a label inside the table, ideally the rows will be formed and not just a column with all the results of the answer. My js code: func...
asked by 22.05.2018 / 20:00
0
answers

Deserialize Json string to Visual Basic class

I have had problems creating a class like this for this JSON string. I ask for your help with this serialization and deserialization of JSON because I searched but I still get an error when deserializar. JSON: { "Local": "1", "CodPr...
asked by 18.05.2018 / 01:35
0
answers

Upload data from .json or MySQL with Highcharts and Ajax

I have a .json document that I keep with MySQL in my database and it contains the following: { "ticker": { "base": "BTC", "target": "USD", "price": "9330.81745211", "volume": "53283.57785327", "c...
asked by 07.05.2018 / 16:53
0
answers

com.fasterxml.jackson.databind.JsonMappingException: Can not deserialize instance of java.lang.String out of START_OBJECT token

I'm trying to map a JSON to an object in java, the JSON is something like this: { "usage": { "text_characters": 22, "features": 1, "text_units": 1 }, "entities": [{ "count": 1, "text": "pisos...
asked by 06.05.2018 / 23:24
0
answers

GetOrgChart.js to create a Supply Chain

I have a question, I am trying to create a supply chain on a php page something like this , where on the left side I have the suppliers of a company and on the right side the clients of that company, My goal is to show this data with its re...
asked by 07.05.2018 / 00:21
2
answers

Get Array list with JSON in android studio

I have a problem that takes several hours to bother me. I have a dialog that is based on notifying if there is a new version of the application and sends a message with the available version along with the changes in it. I have this code:...
asked by 06.05.2018 / 04:57
0
answers

How to get attributes by div using the html tags and their attributes to generate a json?

I'm trying to create a json with html tags and their corresponding attributes. <!doctype html> <html lang="es"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" cont...
asked by 08.05.2018 / 18:26
4
answers

Browse json array with php

I need to go through this array and extract the data heartRate and deviceNumber in separate variables. { "bodys": { "bikeArrays": [], "heartRateArrays": [ { "heartRate": "88", "deviceNumber": "302831" } ] }, "status": 1 } El codigo que estoy...
asked by 27.06.2018 / 20:12
1
answer

how to obtain values in a MULTISELECT using JSON?

I have a dni field and a multiselect technology, in technology I added a function to show it with check boxes () which I want to show through JSON, but I do not drag anything, I was thinking about adding an ajax inside the function , but I would...
asked by 26.04.2018 / 19:14
1
answer

When I pass a class as an argument and then I want to use it, it says can not be resolved to a type

I am creating a DAO class that what it does for now is to bring to memory lists of objects from a json file. This method receives the name of a class and with that it should bring me the list of objects of that class but when I want to tell it t...
asked by 16.04.2018 / 18:58