Questions tagged as 'json'

3
answers

Read json via http by angularjs

I'm trying to read with an AngularJS / Phonegap application an HTTPS address that returns me a JSON ( link ). I'm getting this error:    XMLHttpRequest can not load link . Response to preflight request does not pass access control check: In...
asked by 29.08.2017 / 14:49
3
answers

Interpret data from an external file to use in Autocomplete

I have the following file: index.php       <script type="text/javascript"> function montaAutocomplete(source) { $( function() { var availableTags = [ source ]; $( "#autocomplete" ).autocomplete({ source: avai...
asked by 31.08.2017 / 15:22
1
answer

How to get the data of a specific page on the web?

I want to create a script that gets data like bugs, issues and others from the following page Spring Framework , unfortunately I do not have any code to display because I do not really have a clue how to get this data. The question is: How t...
asked by 17.09.2017 / 22:47
1
answer

Show result JSON via Ajax

I'm not very knowledgeable about javascript, but I need to integrate a payment API. I've never done integrations with any API before. Following the documentation I saw that you first need to generate a transaction token. So I have this...
asked by 16.08.2017 / 20:01
1
answer

Access Delphi XE5 Free Market APIs

I'm trying to make an application in Delphi to integrate the ERP to Free Market, and when using the REST Debugger (for testing) this is returning me an HTML and not Json, has anyone ever gone through this? If you use Postman it returns the co...
asked by 11.10.2017 / 19:35
1
answer

Find an item in the json object of the http response

Well I'm a "beginner" on android. And in my project, I'm picking up from http reponse (with the GET method) a string for JSONObject. "{ "status":{ "d3": { "stats" : false }, "a1": { "stats" : false } } }" But I'm not able to do the funct...
asked by 04.08.2017 / 22:43
1
answer

Simple doubts about json [duplicate]

I would like to be sure of what is considered a json code. For example would the code below be considered a json? $(".hide").css("display","block"); If yes, why? If not what code formats are considered json?     
asked by 24.09.2017 / 03:05
1
answer

Pass values from the database to Spinner

I'm looking for values from the clients in the database via PHP / MYSQL and I'm returning via JSON, and I'd like to pass more than 1 argument to SPINNER (idclient + nomeclient) ... In case, I was able to run the SPINNER passing the "nomecliente"...
asked by 20.07.2017 / 23:43
1
answer

How to do automatic translations?

I have a HTML page and would like to have it in several languages But did not want to make a page for each language and leave editing in HTML. Is there any way I can do an external document , a JSON, I do not know where I only put t...
asked by 06.07.2017 / 13:59
2
answers

JsonResult Display DisplayName of an Enum

I'm having a problem returning the DisplayName of an enum I have the following Enum public enum TipoPessoa { [Description("Pessoa Fisica")] [Display(Name = "Pessoa Fisica")] [JsonProperty("Pessoa Fisica")]...
asked by 12.09.2017 / 19:47