Questions tagged as 'json'

0
answers

Turn option values into json format

Hello, I have the following question, I am dynamically creating the selected, for each option of it selected, it contains two values: DominioID and PaiID, but I need to pass both at the same time but I am not able to transform this value into js...
asked by 15.12.2018 / 13:56
1
answer

Error Json Line 0 position 0

I have already searched the site about this error and so far I have not found something that solves my problem. I'm trying to use restsharp, but I'm getting an error when passing data to .json My Page with the API <?php header('Cont...
asked by 15.12.2018 / 23:04
0
answers

Empty List (Custom) - Android Studio

Hello, good afternoon My Custom ListView is not displaying my real time data from Firebase, follow the code public void gerarLotes() { lotes = new ArrayList<>(); lotesReferencia.addChildEventListener(new ChildEventListener() { @...
asked by 15.12.2018 / 15:50
1
answer

Consume API with PHP

I have api address of a software which I need to create a PHP form and fetch this data. URL Ex: " link " With the URL, the following example is provided: Object: Product GET /api/produto/listar Parameters: ? product = 1 & color =...
asked by 06.12.2018 / 11:01
1
answer

Go through an array of JSON objects in Android Studio

I get the following JSON link [{"ProdutosidProduto":"1","Produtostipo":"mp","Produtosmodelo":"F540 2 BAN.PNEU. 100 X 60","Produtosbandejas":"2","Produtospeso":"0","Produtosprensagem":"0","ProdutosprecoUnitario":"6500","Produtoscomprimento":"10...
asked by 12.12.2018 / 14:22
1
answer

AJAX request with FOR

My real question is: do you understand why your loop executes in the first ajax request, only to then loop in the second ajax request? Today I have this result: HTMLandJScode<html><head></head><body></bo...
asked by 05.12.2018 / 18:21
0
answers

GetJSON function does not display information on the screen

Good Night People, I really need some help. I'm dynamically mounting a table that lists an X quantity of calls. For this I am using AJAX to query in the database and display on the page. So good, no problem. But one of the items that I nee...
asked by 19.12.2018 / 01:05
0
answers

WebService Dataset FLUIG

I'm trying to implement a FLUIG (TOTVS) dataSet that requests an external ws to render a table in a wigdet, however when I perform or interact with Dataset object to get the data in the widget can not access. It's okay. var dataset = Datas...
asked by 18.12.2018 / 20:10
1
answer

Struct with JSON in C ++

I'm having problems inflating a struct using a JSON file, in fact I do not know how to do this, I've been searching the JsonCpp library, but I was not successful. Here's a simple example of my code: #include <iostream> using namespac...
asked by 08.12.2018 / 23:25
1
answer

Convert multi array into json Multi Array

In a print_r, I'm printing the array ( object ) $ all ', and I'm getting the following multidimensional array : Array ( [0] => Produtos Object ( [idProduto:Produtos:private] => 1 [tipo:Produt...
asked by 29.11.2018 / 15:28