Questions tagged as 'json'

1
answer

Json Custom Spring Receipt

Hello, guys. All right? Currently on my system I'm mapping objects to Spring's default form, but I'd like to do a custom mapping: Current driver @RequestMapping(value = "", method = RequestMethod.POST, consumes = MediaType.APPLICATION_JS...
asked by 28.06.2016 / 00:38
1
answer

Read data json inserted in mysql

I've seen many tutorials, and everyone includes [] but this one has not, is supposed to be missing something, can you help me? In the database is id date, id being the base code for each product which in turn has a calendar. I just need to have...
asked by 18.06.2016 / 06:05
1
answer

Integration between systems with PHP [closed]

I need to make a service available for other systems to consume. These systems can make requests POST (string, array, xml and json) and GET . Well, I know I can consume services from other systems using GET in a trivial way,...
asked by 06.07.2016 / 16:09
1
answer

How to not duplicate items in a list returned from json with ajax

I'm having problems, basically I'm doing a search on products with like, but it's duplicating the products, I'll attach an image that clarifies better. $(document).ready(function(){ $("#search").on( 'keyup', function () { var pesquisa =...
asked by 07.07.2016 / 20:58
1
answer

how to make queries passing 2 parameters via Curl?

I need to send a user and password via curl in txt, it's just for testing, for example curl -v -H "Accept: application / json" -H "Content-type: application / json" link I want to pass the user and password in this query, someone can hel...
asked by 19.08.2016 / 17:12
1
answer

JSON Data Return

I'm performing a simple data return on a Jquery function. However, the error message is displayed. Follow code JSON: <?php header('Content-Type: application/json'); $dados = "Meus Dados";...
asked by 12.07.2016 / 14:50
2
answers

Return Multiple values with PHP jQuery

I have a function that returns me the values of a Grid in a Modal I call the function it does a Select in PHP and it returns me the data inside a Modal. But in addition to bringing this data I need to bring image names that are in another table...
asked by 18.07.2016 / 20:45
1
answer

Whois of domains php api in json?

I need to query domains, get information about it, dns, ip, responsible, etc. I can do it for registration.br using nicBr api link however I need to .org, .net, .com, etc. domains.  I saw the documentation of rdap = link I read this referenc...
asked by 31.05.2016 / 23:38
1
answer

Unexpected token: from a URL with .json extension

When trying to get a JSON via the URL: http://www.cidades.ibge.gov.br/gmap/shapes/35/MU_M13_3550308_1000.json I get a status 200 with error: Uncaught SyntaxError: Unexpected token : Using AJAX as follows: $(document...
asked by 25.05.2016 / 17:14
1
answer

How to load the latitude and longitude pairs for a C # object and work them?

Good evening! I am developing a web page where the user can draw a route. I use google maps api. I need to get the latitude and longitude pairs from the route, load to a C # object and, after working latitude and longitude information, return th...
asked by 25.05.2016 / 23:11