Questions tagged as 'json'

1
answer

Spring Security OAuth2 Plugin with Json Tokens

Can anyone tell me if Spring Security's OAuth2 plugin supports access tokens in JSON format instead of XML format? And if so, what do we have to do to make this change?     
asked by 21.02.2014 / 20:59
3
answers

How to display in alphabetical order - Cakephp

I'm listing neighborhoods, when I select instead of getting the value from the list, json_encode is returning its position. ex: -BAIRRO I -BIRTH II If I select "Neighborhood II", it will return me: "1" "0" -BAIRRO I "1" -BAIRRO I...
asked by 21.02.2014 / 13:14
0
answers

How to display sub comment of the parent comment sub with Spring Boot and AngularJs?

I want to display every comment with sub-parent comments with your child sub-comments. Same as this example. comentario #1 comentario 1 resposta #4 do #1 resposta comentario 1 resposta #8 do #4 resposta do resposta comentario...
asked by 19.12.2018 / 13:41
1
answer

ERROR trying to delete the news (ANDROID JSON) [closed]

In this link teaches you to list comments (in my case news) using external database. There is a download of the project. How can I delete a news item while selecting and still have a Dialog appear asking if I want to delete news from...
asked by 12.03.2014 / 17:15
2
answers

Function with AJAX request that returns another function for JSON object handling

I have a function that uses AJAX to return data from a database. The data is processed and returned in JSON and, from there, I make the necessary manipulations. So: function getData() { $.ajax({ url: 'script.php', type: 'po...
asked by 17.12.2018 / 22:47
2
answers

getJSON with parsererror

I am attempting to perform the deletion and an item, so in controller I send a code to view 0 or 1 , but the JS function responsible for dealing this return is always falling in fail with the following error.    error...
asked by 13.12.2018 / 19:04
2
answers

Creating HTML with JQuery and Json

I want to get the output of JSON from the page select.php and put each line in a <div id="estabelecimento"> with its attributes, I'm doing the following: $.getJSON('select.php', function(data) { $.e...
asked by 26.12.2018 / 18:16
1
answer

How to list EXC exchange information in PHP via API?

Using PHP, how to list EXC API information, I'm having some difficulties and who I can help, Details: LINK API : Here is an example of how I tried to do it: <?php $json = file_get_contents("https://trade.exccripto.com/api/v3/p...
asked by 23.12.2018 / 22:30
1
answer

Error loading JSON

In the link below, I have a return of JSON : link is delivering the following return: [{"ProdutosidProduto":"1","Produtostipo":"mp","Produtosmodelo":"F540 2 BAN.PNEU. 100 X 60","Produtosbandejas":"2","Produtospeso":"0","Produtosp...
asked by 11.12.2018 / 19:58
0
answers

How do I persist on screen saved items in the localStorage of the browser?

Good afternoon guys, I need to create an application that, when clicking a button, retrieves data from an api and renders the screen inside a table. Each row in this table has a button to "favor" the row, which is nothing more than saving your c...
asked by 07.12.2018 / 18:09