Questions tagged as 'json'

1
answer

Fill table column with Json Object (using Footable)

I'm testing a plugin to load a Json into a table, the footable, I was able to make it load the simple Json. But when I test a Json in which one of the columns is a Json object I can not see the fields of that object. Json below: [ {...
asked by 18.07.2017 / 03:33
1
answer

Problem with json slim framework

I am doing an api to do the integration of two different systems, the system sends me the following json: cJson = [{"TESTE": "1"}] I was 3 days with a problem because I was not able to get the json that the other system sent me via post wit...
asked by 21.06.2017 / 17:16
1
answer

How to display a list of results in an activity? [closed]

I have a fairly limited knowledge on programming and I'm starting Android now. I started developing an Android project for physiotherapy. In this project, physiotherapists will be able to register and log in to edit, display, and record patie...
asked by 21.06.2017 / 17:58
1
answer

How to generate an insert string from json [closed]

I'm new and javascript and I need to generate an insert string for sqlite with this string: { "InputFile" : "PER_02.inp", "RunTime" : 1492167103, "Reservoir" : "5", "Elevation" : 400.000000, "UpStreamId" : "172", "UpStreamP" : 95.000000, "PRU_l...
asked by 12.09.2017 / 04:56
1
answer

Receive a base64 string via JSON and display in a TImage DELPHI

I'm getting a JSON object, which inside it has a photo converted to base64. I need to load this string into a TImage in delphi. Getting the string I got using the class superobject, but the base64 I'm not finding the solution. Thanks in advance...
asked by 24.07.2017 / 15:57
1
answer

Multiple filters on a json object?

Hello. I have 10 filters for a single json object: var filtro1 = function(value, selecionado){ var data = JSON.parse(JSON.stringify(json.aPesquisa)); var result = data.filter(function(pesquisa){ ... }); return result...
asked by 24.07.2017 / 23:53
2
answers

Can not convert JSON List to Array in Javascript

I'm having trouble getting javascript data from a json. To better explain, the data comes from the database, like this: // PHP $rs = mysqli_query($con, "SELECT id_acao as id, text FROM acoes"); $data = array(); if (mysqli_num_rows($rs) &...
asked by 11.07.2017 / 15:58
1
answer

Json Web Api with error

I have a REST service in WEB API, I use 2 related entities (person and user) 1 = 1 relationships, the post to insert this ok, retrieve the data, searching for the id of the user too, but when I try to search all the records I get the following e...
asked by 14.06.2017 / 12:46
2
answers

Difficulty accessing json

I have the following json: { "destination_addresses": [ "Rua B, 1 - Coqueiro,Belém - PA, 66670-350, Belém - PA, 66670-350, Brasil" ], "origin_addresses": [ "Pref. José Walter, Fortaleza - CE, 60810-670, Brasil" ],...
asked by 14.06.2017 / 14:58
1
answer

Problem with JSON filter and Array

I'm trying to filter a JSON with category but I'm not getting it. I have 3 checkboxes and when I select them they should filter a json as selected. and when I uncheck a checkbox it should filter only those that are selected. If no checkbox is...
asked by 11.07.2017 / 20:04