Questions tagged as 'json'

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

Show image from remote database, with JSOn. Android

In a RecyclerView I show a list of data with image, this comes from a database that I have in 000webhost, where I store in a folder Images, images, PHP files and the business table with their respective name, category, description and route_imag...
asked by 31.12.2018 / 18:34
1
answer

Python Iterar over JSON nested with variable values

Hi, my friends, please excuse me, you could help me iterate on this json that returns the request I made with requests but I already tried with items () and values () but nothing else sends me errors or at least tell me what I'm doing wrong was...
asked by 29.12.2018 / 06:17
0
answers

How to read values from a json that extracts data from influxdb

I'm doing a query to an influxdb database and at the end I have a result like this: stdClass Object ( [results] => Array ( [0] => stdClass Object ( [statement_id] => 0 [series] => Array ( [0] => stdClass Object ( [name] =>...
asked by 26.12.2018 / 11:06
0
answers

How to prevent duplicate items in a while cycle and JSON php

I made this code but I can not clean the second response of the while <?php $json = array(); $select = "SELECT id, nameVersion, urldownload FROM history WHERE disponibilidad ='1' "; $resultado = mysqli_query($m...
asked by 27.12.2018 / 06:25
0
answers

Filter in adapter

How can I do it? What I want is for me to show only the items that within the holder.textEstado.text = filtro.estadoPartido contain the string "Pending" and this is what I do: import android.annotation.SuppressLint import android.content.Con...
asked by 23.12.2018 / 10:19
0
answers

Query works in mysql but datatables does not recognize it

I have the following query: $consulta = " select t.id, t.nombre_mes, t.valor, t.ano, t.procedimiento, t.folio, t.fecha_envio, t.etapa from( SELECT meses.id, meses.nombre_mes, hijos.valor AS valor, hijos.opcion AS procedimiento, pedidos.correl...
asked by 04.01.2019 / 00:05
0
answers

Sending JSONObject data

I have a problem with my Android Studio code. My application must send some information that is collected but I do not know how to structure it since the body of the email is long someone could tell me, I have tried to send it with several JSONO...
asked by 21.12.2018 / 00:01
1
answer

JSON variable in PHP

I bring the fields of a table via JSON, they are printed perfectly as <td>{{data.Vence}}</td> . My problem is that I want to compare this date with today + 30 to see if it is lower and declare an alarm, but I could not do it si...
asked by 19.12.2018 / 21:25
0
answers

Response without ModelSerializer in Django?

I need to send the list "search" by response, the problem is that I can not serialize it with the library "JSON" that brings django by default and send it by the URL to the Frontend, how can I serialize the list and send it as any object json to...
asked by 21.12.2018 / 17:26