Questions tagged as 'json'

2
answers

Is there a way to transform a string as a path? [duplicate]

var sql = { datatypes: { integer: { INT: { mysql: 'INT' }, SMALLINT: { mysql: 'SMALLINT' } } } } // Funciona alert(sql.datatypes.i...
asked by 08.12.2016 / 13:30
2
answers

Using JSON in JQuery library

I'm using the "Vegas Background SlideShow" library in a project with the following code: <script> $("#main").vegas({ slides: [ { src: "assets/site/img/uploads/banners/01.jpg" }, { src: "assets/site/img/uploads...
asked by 10.09.2016 / 23:48
1
answer

Viewing birthdays for the current month in FullCalendar

I have a database with a date in the field start , I would like to display only the birthday of the current month in fullcalendar , but I have two difficulties: Select only the birthdays of the current month Show birthdays i...
asked by 16.09.2016 / 20:46
1
answer

Write Return Json to txt file c #

I'm trying to write a return from a JSON into a txt file. But when I try to use DeserializeObject it gives error. I have Json below (example 2 records): [ { "TipoVeiculo": "Caminhão", "CodigoMarca": 501, "Marca": "AGRAL...
asked by 11.07.2016 / 19:55
4
answers

Contents of a JSON in a table cell

How do I get the result of a json and play straight into a table from my td? Is the form of getJSON right? <script type = "text/javascript" language = "javascript"> $(document).ready(function(){ $.getJSON('../js/gcs.json', f...
asked by 30.08.2016 / 22:41
1
answer

Error 400 when creating InputStreamReader for URL with spaces or accents

Hello, I have a problem when I use InputStreamReader to read some URL's that contain spaces or accents. What happens is that I'm reading a URL that contains a JSON (One of the League of Legends APIs). I have no idea what's going on, when I use s...
asked by 26.03.2016 / 00:15
2
answers

Popular View with JSON

I use a library called Alamofire-SwiftyJSON to make a request JSON . Example call: Alamofire.request(.GET, "http://httpbin.org/get", parameters: ["foo": "bar"]) .responseSwiftyJSON({ (request, response, json, error) in...
asked by 01.12.2015 / 13:09
3
answers

Json PHP and Mysql

I'm working on a personal project with an open database, and I need a JSON file from a MYSQL query, I've been trying to solve this problem for a few days now and I'm having a hard time getting the name of the My data. Example: I make a query to...
asked by 29.09.2016 / 01:45
2
answers

List of dynamic checkboxes in Angular and JSON API

I'm having trouble rendering dynamic checkboxes with JSON API response. There are 2 ng-repeats: Bringing the list of categories in the data base, and; ng-model with the list of categories chosen. Below my HTML code; <ul class="l...
asked by 26.06.2015 / 22:08
1
answer

Error 403 forbidden when consuming webservice CEP

I'm trying to consume a webservice from ceps but it always returns me 403 and it's public. WebService Test Running: link My Controller @Controller @RequestMapping("/busca-cep") public class BuscaCEPController { private stat...
asked by 16.11.2015 / 17:09