Questions tagged as 'json'

2
answers

Return getInstallments Pagseguro

The% of PagSeguro is used to return the number of parcels and the value of each parcel, when informing a card and the value of the sale. The feedback I get is this: Inthisreturneachitemrepresentsanumberofparcelsanditsvalue,whatIamnotgetti...
asked by 29.10.2016 / 05:49
2
answers

How to get values with space in JSON

Hello. I'm having a problem with a popular select with JSON. When the value has 2 or more words the 'value' of my option is not filled correctly. Example: { "Marcas": { "Acura": { "Modelos": ["Integra", "Legend", "NSX"] },...
asked by 04.10.2016 / 00:00
2
answers

How to compare hashes coming from JSON in RAILS

Personal I created a web service that today receives a registry and a password, it makes a select in the bank and compares to see if the registry and password are equal, if yes it shows a few options.At that moment the password is being sent in...
asked by 31.08.2016 / 15:48
1
answer

Get json array value for string - Java

Hello, I do not have much knowledge in Json and I have a problem and I did not find an exact solution of it in the community. I have the following format in the json file: { "name" : "ProductName", "description" : "descripti...
asked by 19.10.2016 / 01:00
1
answer

Json for Markers android

I'm trying to loop markers from google maps, grabbing information from a json, but I'm stopped at "downloading" information from doinbackground to google's google method. To understand better, follow my code: public class MapsActivity extends...
asked by 22.07.2016 / 01:53
3
answers

How to send Json array from Jquery to PHP

I have a table where the rows constantly change order, I need to write this table to the bank. From the moment I will no longer modify the table I click on a "Confirm Grid" button, at that time saved that table in an array inside the jquery, and...
asked by 01.07.2016 / 14:29
2
answers

Make submit a form via ajax

I have the following code in my controller: [HttpGet] public ActionResult Mensagem(long idT, long idD) { string raaluno = acr.getAlunoLogado().ToString(); ViewBag.idT = idT.ToString(); ViewBag.idD = idD.ToString...
asked by 08.06.2016 / 03:54
2
answers

Create header and records dynamically based on a json

Good afternoon ...  I need to create a table where rows and columns are created dynamically. For example, consider this JSON: {"employees":[ {"firstName":"John", "lastName":"Doe"}, {"firstName":"Anna", "lastName":"Smith"}, {"firstN...
asked by 07.06.2016 / 20:14
1
answer

Tool to convert Excel to Json [duplicate]

I have an excell table and I need to generate a graph with Charts.js which uses json to mount the database. So how can I convert an excel table with 50 rows and 10 columns into JSON data.     
asked by 07.04.2016 / 15:35
2
answers

Separate json response for tags

Personal I have the following ajax call: $(".sec-tags").html(res.data.tags); It is returning the call from the server, however the call is coming as follows: tags: "coelho,teste,gato" Everything is coming within a single string separat...
asked by 15.07.2016 / 22:32