Questions tagged as 'json'

1
answer

Send via Json data to the controller

I am trying to send via Ajax some data from my form. In this form, I have inputs normal fields and a list of providers that I previously selected through the checkbox. Follow screen: I'mcreatingtheJSONobjectandsendingitviaAjax,butmyli...
asked by 21.09.2015 / 21:09
2
answers

Currency exchange online

I spent some time looking for a site where I can change currency. Where can I make requests via client-side script using a url address and receive a JSON object with the conversion. (I ended up finding a solution I like that I put here.)    ...
asked by 17.12.2013 / 00:17
5
answers

Retrieve a json final value in Javascript

Is it possible to retrieve a value from a result of a url by jQuery? My problem is the following, I need to receive the final result of this url: link I need to retrieve this result through JavaScript.     
asked by 20.02.2014 / 03:27
3
answers

How to simulate JSON responses?

I need something that simulates JSON responses for me. Some time ago I had seen a site that did the following: You pass parameters by a URL, eg ?nome=Wesley&idade=21 I got the call in the JSON object like this: { nome:"...
asked by 14.07.2014 / 19:22
6
answers

How to get weather and weather information?

I came across a problem I'd like to see if it can be solved in a similar way to the mail . When you have a zip you can retrieve from a web service other data, such as the address and city of this zip informed. In terms of climate, is there an...
asked by 08.03.2016 / 20:56
2
answers

Dynamic Grouping of JSON Data

I have been trying for some days to dynamically group JSON data, but without success, it is a matter of logic rather than programming itself. Given an array of objects (Users), group them according to their attributes (name, age, etc.). Th...
asked by 19.10.2017 / 19:46
5
answers

How to receive a JSON object from an external url / domain?

I found a lottery API that brings me the result data of a lottery of Lotofácil, but I'm not able to access the data of the JSON object. I'm trying this way: $(document).ready(function(){ $.get( "http://developers.agenciaideias.com.br/lo...
asked by 24.10.2014 / 19:25
1
answer

$ .getJSON does not write return on variables

I created a function that takes the values of a JSON and (should send those values to variables inside the function) so I could use these variables in the continuation of the function. The problem is that when I run the function it does not retu...
asked by 12.09.2014 / 20:12
1
answer

Problem making JSON to a Site

I need to make JSON from the following link, in order to get the data for a record AWP | Dragon Lore (Field Tested) of the day: 2017-03-25 . Link: link How can I make a json, in order to get price , of the follo...
asked by 26.03.2017 / 01:56
3
answers

Problem using paragraphs in JSON file

I'm creating a web application which uses JSON files to save site content. In these files are saved small text fragments containing paragraphs. When I try to separate the paragraph using a \n\ or \n or \r\ or \r , I...
asked by 12.12.2013 / 13:13