Questions tagged as 'json'

1
answer

Swift 3 / JSON - How to capture List of objects within an object?

How do I access a list of objects within another object list? I can capture these objects quietly, but I'm having trouble capturing objects within this list. Here's my JSON: InthiscaseIwanttohaveaccesstothevaluesthatarewithin"NOTES" and "FAU...
asked by 20.02.2017 / 22:02
2
answers

Laravel 5.3 with Ajax

I would appreciate your help in solving an Ajax problem with Laravel 5.3 I'm experiencing problems with Internal Server Error 500, and looking for information about it may be routing problem or csrf_token (), but I've already made the changes...
asked by 10.02.2017 / 02:02
1
answer

How to pass a value from a dictionary (which is inside another dictionary) to a Label? Swift 3 [closed]

I have a database something like this: { "status": "OK", "data": [ { "id": 1, "name": "Mike", "informations": [ { "id": 474, "text": "My son", "reference": "www.google.com",...
asked by 31.01.2017 / 01:30
1
answer

c # how to use the POST method with Restsharp

I have a code to login, but when I send the correct data the API continues to send the code "Unauthorized". The code is as follows: var client = new RestClient("link"); var request = new RestRequest("/v1.5/auth/authenticate", Method.POST);...
asked by 08.02.2017 / 15:23
1
answer

View information in HTML with angular

Hello, people, I'm a beginner in angular, javascript, and so on. I'm trying to display the information from a json returned by a php script, but I'm getting this error:    Duplicates in a repeater are not allowed Angular: angular.module...
asked by 07.02.2017 / 19:33
1
answer

extract data from a json

I have the following JSON : [{ "ItensReceitaModel": [{ "t0081_id_receita_itens": 1, "t0081_lote": "1233" }, { "t0081_id_receita_itens": 2, "t0081_lote": "123" }], "PacienteModel": { "t0031_id_pessoa": 1, "...
asked by 08.01.2017 / 14:38
2
answers

Insert data from an array into a mysql database

I get a json from an android application. This json is a java class that was converted with json's Gson to a string. After the web server in php receives this json I convert to an array. I want to make a generic insert in my web server, where...
asked by 07.01.2017 / 14:16
1
answer

How to get a json link and use it in php

I get the following json link: http://localhost/json/?conteudo={"Login":"[email protected]","Senha":"12345","Posicao":{"Latitude":"-18.8693459","Longitude":"-41.955664"}} How to play it for the php below: <?php $valor = json_decode('L...
asked by 06.01.2017 / 04:26
1
answer

Convert RSS to JSON Google Feed API

Some time ago I was using the google service google feed api but this service has been deprecated, I would like to know if there is any solution to replace, I'm doing so with jQuery: $.ajax({ url: 'https://ajax.googleapis.com/a...
asked by 25.01.2017 / 12:13
1
answer

Create Json with a lot of Data and Return with WebApi

Scenario: I have a WebApi that runs a method on my service layer that executes a query either returns 500k result lines, containing 90 columns. Method that queries and traverses results: using (var command = Session.Connection.CreateCo...
asked by 13.02.2017 / 20:25