Questions tagged as 'json'

1
answer

STRUCT CUSTOM JSON ARRAY?

My JSON is this: { … "episodes": { "1": [ { "id": 533072, "season": 1, "episode": 1, "nombre": "La hija del general", "firstaired": "2012-1...
asked by 03.09.2018 / 20:45
0
answers

Get name + id of a service with Angular

Dear greetings, I am working with angle obtaining the result of a service, which I need to obtain the name of genres, but the parameter that the service for the gender item sends me is: genre_ids, which prints the id numbers corresponding, I nee...
asked by 21.07.2018 / 19:09
1
answer

javascript variable equal to .json file content

I currently have a .js in which I save a json array and equal it to a variable applications = {"apps": [ { "app":"app1", "buzon":"buzon1" }, ... ]}; And below, in the same script I use the variable to work with the json data. The idea is to...
asked by 08.07.2018 / 10:45
1
answer

Error loading JSON file with getJSON

I do not have much control over Javascript and I am trying to test a project that you download from github . link I have managed to solve a problem with the audio, since the routes indicated in the sources were not the same ones that...
asked by 18.07.2018 / 07:49
0
answers

ignore different data type in Jackson

@JsonIgnoreProperties(ignoreUnknown = true) public static class MessageRS { private String errorCode; private String description; private DATA DATA; public MessageRS() { } public MessageRS(Str...
asked by 17.07.2018 / 19:57
0
answers

Error in realizing a json?

I am doing a book loan API with spring boot. I have 4 classes Person, book, ActionBook (Here it will be seen if it is a loan, or return), typeAction. Person: @Entity @Table(name = "persona") @JsonIgnoreProperties({"hibernateL...
asked by 01.07.2018 / 20:02
2
answers

Create OnItemClickListener within a custom Listwiev with Json

I need to control the click on the custom Listview to perform an operation depending on which one is pressed. I leave the code of the main page. public class Mostrar_Productos extends Anadir_Productos_Principal { SmartImageView smartIma...
asked by 26.05.2016 / 21:53
2
answers

How can I count the values of a json array and list them with html?

I have the following json "files", I'm only interested in counting the typedescrip to make a list with them to know how many types I have I'm using angular to build my functions suggestions are accepted { "archivos": [ {...
asked by 12.07.2018 / 18:00
1
answer

Error in parison of a json with gson in android

The problem I have is that basically, when I'm going to print the data, I already have toast, or with anything it brings me null data, the particular thing is that I print the toast for the times of data that are in the json, but all the data it...
asked by 11.06.2018 / 23:24
0
answers

Send json, gson via KSoap on Android

It happens that I am trying to send what has a Json file to a WebService made in C #, I have to send it the string that contains the Json file from android, what I have to send in this case is the "saved" variable that the I think so from a Shar...
asked by 17.05.2018 / 07:49