Questions tagged as 'json'

2
answers

Errror to parse ej json obtained by consuming web services "com.android.volley.ParseError:"

When consuming web services I received a json and it is generating a parse error Error en la peticion: com.android.volley.ParseError: org.json.JSONException: Value [{"id":1,"name":"Test","description":"some description","price":3.1416,"finish"...
asked by 21.07.2017 / 20:45
0
answers

Android HashMap with custom adapter [closed]

The purpose of the code is to print the names of the chapters when the season is in the same position, here an example, tengo una serie "x" con 2 temporadas Temporada 1 [10 capitulos] Temporada 2 [10 capitulos}] serie "e" con 1 temporada Tempo...
asked by 22.07.2017 / 05:52
0
answers

Error in REst response in java, object is not displayed as Json array

When it shows the result in Json of several records of the Rest that I have developed if it shows it as an array (with a bracket that encloses all the elements): {"tb_tipo_producto_1":[{"c_t_tipo_producto":"ACCESORIO PARA COCINA","n_i_cant_pro...
asked by 17.08.2017 / 17:09
1
answer

I can not convert a Json format into a csv table

I tried to convert a json to csv, I tried it directly with the library csv and also with pandas , but it tells me TypeError . This is my code: import urllib2, json url = "https://www.ncdc.noaa.gov/cdo-web/api/v2/stations"...
asked by 29.06.2017 / 09:39
1
answer

Return Json of type "field_name": value with Java and Spring

I'm doing a REST API that consumes data from a mySQL database and returns it in JSON format. I use hibernate, so I have object entities "connected" to the database with their respective notations @Entity, Id etc. and these are returned perf...
asked by 25.06.2017 / 03:23
1
answer

error in json and ajax

This is my mistake:    DataTables warning: table id = table - Invalid JSON response. For more information about this error, please see link I'm using codeigniter. What happens is that a data table will load the data with ajax making...
asked by 17.06.2017 / 00:15
1
answer

Using geolocation and infowindow: Ionic Google Maps Markers

In an app using Google Maps JavaScript API, I need to obtain the bookmarks from a JSON file, importing the relevant plugins I found a tutorial that works, I need to do geolocation, but no allows to use loadMap but displayGoogleMap , I'll le...
asked by 25.05.2017 / 00:42
1
answer

Because Delphi shows me this error: Undeclared identifier: 'DecimalSeparator'

I'm using Delphi Berlin 10.1.2, I just started a new project using the superobject library: link This library serves to interpret API responses function FloatToJson(const value: Double): SOString; var p: PSOChar; begin Result := Float...
asked by 21.05.2017 / 19:27
1
answer

error JSONException error No value for

This is my code String line; while((line = reader.readLine()) != null){ result.append(line); } JSONObject respuestaJSON = new JSONObject(result.toString());...
asked by 03.05.2017 / 05:54
1
answer

Get JSON subkey

I'm trying to create a dynamic table based on a JSON. The problem is that I need to make the header of the table is filled with the data of a subkeys, that is, I have the following: { "num_prod": 17, "total": 17, "articulo": [ { "n...
asked by 07.04.2017 / 01:53