Questions tagged as 'json'

2
answers

Foreign key in WebApi with dotnet core

Next I'm creating a webapi (I'm using the Entity Framework) with two classes, Course and Discipline, where the course has the Id of a course, I created it as follows: public class Curso { public int Id { get; set; } public string Nome...
asked by 24.05.2018 / 04:06
1
answer

Capturing input data of type "radio" and transforming into JSON

(This project is being developed with Spring Boot + Thymeleaf) I have an html page that will work as a questionnaire containing more or less 100 questions (the code below is just an example). Each question has 4 inputs. <div> <inp...
asked by 24.05.2018 / 00:46
1
answer

Json via POST giving error

Hello! I am sending a Json through an HttpClient and it is returning an error about header. Does anyone know what it can be? JsonDeDados = sender.sendMessageDATA(); List<NameValuePair> urlParameters = new ArrayList<NameVal...
asked by 11.06.2018 / 21:06
1
answer

How do I get the given 'distance' in JSON in this example?

How do I get the given 'distance' in JSON in this example? $url = "https://maps.googleapis.com/maps/api/distancematrix/json?units=imperial&origins=86015-810&destinations=86830-000&key=AIzaSyDL6_dJ-Mbi_03_g6lHhWibxY22Z2UeYZQ"; $jso...
asked by 13.04.2018 / 20:27
1
answer

Group json with PHP?

How do I group a json according to a field? I have the following json: { "origem": [ { "id": 154826, "nm": "", "tp": "", "am": "", "sg": "SAO", "sq": 925 }, { "id": 2289, "nm": "...
asked by 25.04.2018 / 19:11
1
answer

Property 'includes' is missing in type 'Subscription'

I want to map the list of questions and throw them in the questions property of my JSON object, but at the prompt gives this error:    "ERROR in src / app / form / questions / questions.component.ts (19,5): error   TS2322: Type 'Subscription'...
asked by 11.03.2018 / 22:54
1
answer

Selected Combox in javascript

Good evening guys, I need some help, it's simple but I'm curled up. I have this combo inside a MODAL, it happens that the fields of this modal I populate everything by javascript / Json searching the data of a database. MODAL <!-- Grid c...
asked by 07.03.2018 / 01:27
1
answer

How popular is a postgres table with JSON?

I'd like to populate my tables with Json. But I can not. Does anyone have a solution? Follow JSON: link     
asked by 16.05.2018 / 01:25
1
answer

Upgrading from IONIC 1 to 3: How to log in to JSON?

I'm migrating from Ionic 1 to 3, and how many changes. I created my login API, with a token: HereIputmyauthorizationcodeforaccessingtheAPI.AndheretheresultinJSON: ion-contentpaddingid="page8" style="background-color:#050505;"> <...
asked by 15.06.2018 / 14:05
1
answer

Return the URL of an image via JSON

I am communicating with Behance API and I have the following script written in Angular 1.5.5: var app = angular.module('PortfolioApp', []); app.controller('PortfolioCtrl', function($scope, portfolioFactory) { portfolioFactory.getBehance(...
asked by 02.02.2018 / 12:08