Questions tagged as 'json'

0
answers

POST request sending a String via Retrofit on Android

I need a lot of help from you, I'm trying to make a POST request via Retrofit, just send a parameter: { "select":"select id || ' | ' ||senha_terminal,nome,login_web,null,5,null n2,7,senha_terminal,senha_web,data_inclusao from usuario where id...
asked by 28.03.2018 / 14:57
0
answers

Select set of values inside a LINQ query

Friends, I'm trying to create the following .json with a LINQ query using Entity Framework 6: { "id": "1231-12321-sdff-21-31", "name": "nome do produto", "description": "Descrição do produto" "rating": 4.1, "pr...
asked by 29.03.2018 / 15:58
0
answers

HTML JSon POST C #

I have the following class: public class Ticket { public string name { get; set; } public string content { get; set; } public int itilcategories_id { get; set; } } And the following task: static async Task<Uri> Create...
asked by 28.03.2018 / 12:11
0
answers

Ajax (AngularJS) returning HTML from the page itself

I am using Codeigniter to retrieve data from the database. Controller: <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller { public function __construct() {...
asked by 19.03.2018 / 00:02
0
answers

Process a JSON return with JQuery

I'm doing a job for college, and I'm having a hard time getting a certain return from the Google Maps API. I want to access some information on the return for example: formatted_address long_name address_components And other data,...
asked by 28.03.2018 / 19:23
2
answers

Php error youtube

I was using the code below to list the video name through the YouTube API 2 weeks ago. Code: <?php $dados ="Roberto Carlos"; $video_list = json_decode(file_get_contents('https://www.googleapis.com/youtube/v3/search?part=snippet&...
asked by 15.03.2018 / 02:15
0
answers

Call class that generates JSON

Good morning! I am breaking my head to retrieve the class that generates the JSON, I have the following class name of apiBusca.php public function enviarRequisicao() { $url = 'API'; $json = new StdClass(); $json-&...
asked by 13.03.2018 / 14:49
1
answer

Spinner Json and ArrayList

I'm starting in Android development and I'm having a tense question here. I have a Json return like this: [ { "codTransportadora":295, "NomeTransportadora":"UTILISSIMO", "codEmpresa":3122 }, { "codTransportador...
asked by 17.03.2018 / 03:33
1
answer

How to concatenate two strings and save the result to a variable?

I'm using an API to capture proxies . It returns me the proxies in the format JSON , as follows: { "_links": { "_self": "\ / proxy", "_parent": "\ /" }, "ip": "45.55.23.78", "porto": 1080, "protocolo":...
asked by 09.03.2018 / 08:01
2
answers

Display data from a Json file in HTML

I'm stuck in a situation where I can not turn the data blocks of the JSON file into HTML, nothing appears. Below I'll put the codes for you to take a look at If you can tell me a cool site about JSON I also need to know about filtering and ad...
asked by 08.03.2018 / 19:04