Questions tagged as 'jsonarray'

1
answer

Store a MySQL SQL Query in JSON

the query is the following I have this query: Edit > Added Query in PHP: if (!($resultado = $conexion->prepare(" SELECT facturas.*, renglones.producto, renglones.cantidad, renglones.precio_unitario, renglones.tot...
asked by 13.10.2018 / 06:25
1
answer

Help I can not convert a string with JSON format to JSONArray on android

Hi, I'm new to android studio I'm trying to convert us string with json format into a JSONArray object in android studio but I have the following error:    W / System.err: org.json.JSONException: Value [{"cve_prod": "ASPM1   "," description...
asked by 04.12.2018 / 19:07
1
answer

Add data to JSONArray comparing data

According to the case that presented before like restlessness ... Add data to JSONArray Now, for this very thing for (int l = 0; l < lineas.length(); l++) { lineas.getJSONObject(l).put("importe_aumentado", json.getJSONObject(l).get...
asked by 24.09.2018 / 16:07
1
answer

Get the amount of array json type

I need to traverse N json type arrangements with the jquery library plus these must be filled in an input that is in a table, someone has some idea of how I can my current code works perfectly only if a single fix is returned . HTML code...
asked by 05.01.2019 / 18:59
1
answer

Go through an object and get its content

The route achieved it with the function: transformEmployeeData2(array) { var obj = {}; var final = []; var arrayJson = JSON.parse(JSON.stringify(array)); for (var i = 0; i < arrayJson.length; i++) { obj = {};...
asked by 04.01.2019 / 21:20