Questions tagged as 'json'

0
answers

Javascript does not return results

I made a javaScript script to send data to a php file, the data is sent correctly, then it is processed in php to be used again in javascript, however I can not access the return of this data, javascript does not generate the div that I put or s...
asked by 18.10.2018 / 15:32
1
answer

How to create divs inside javaScript and use Json

I'm trying to create and fill in several html cards according to the Json return I have from a PHP file, I have Javascript that takes the Json array, my question is how do I create multiple cards within that javascript? Javascript $(functi...
asked by 18.10.2018 / 05:22
0
answers

Validate array JSON schema - using JS

I'm trying to run unit tests with this JSON schema: "Transactions":{ "$id": "http://example.com/example.json/items", "type": "object", "additionalProperties": false, "properties":...
asked by 25.10.2018 / 15:14
0
answers

Error finding zip with jquery via zip

I am developing an edit page where the user data is displayed on the screen. In it, we have a new address button, clicking it opens a modal with the address fields (zip, street, neighborhood etc ), but this modal is formed in jquery by clicking...
asked by 19.10.2018 / 15:02
2
answers

Jquery - Autocomplete ViaCEP in multiple lines

I'm using ViaServ's WebService to do the street autocomplete in my registration form, however it's a form where 20 lines, each line contains: ZIP + STATE OF THE CONDO when filling in the zip it has to autocomplete the street only referring to th...
asked by 26.10.2018 / 05:35
0
answers

Full Calendar - SCHUDELLER with C #

I'm trying to popular resurces , to create my calendar, but it is not working, there is no error and I did not display the information, I do not know how to proceed, the data is coming to the screen, follow my code .js !function ($) { "u...
asked by 25.10.2018 / 22:45
1
answer

How to manipulate a Json object before returning to the API

Hello I'm using this method in my controller: @GetMapping(value="/{id}/perfil", produces = MediaType.APPLICATION_JSON_VALUE) public String carregarPerfilUsuario(@PathVariable("id") Long id, HttpServletResponse response) throws IOException {...
asked by 15.10.2018 / 03:49
1
answer

Consume json Retrofit in my real device (smartphone)

I made an apirest with Springboot that works perfectly by the browser at the address. http://localhost:8080/pessoas_escalas I can consume the service locally from the Android Studio emulator via the address set in Retrofit. .baseUrl("http...
asked by 12.10.2018 / 22:09
2
answers

Error while reading a Json string

I'm trying to create a table for a football league with the return of a json: To facilitate I will put the Json below refers only to a Team: { "id": "1", "nome": "Palmeiras", "Atleta": [ { "id": "0", "nome":...
asked by 14.10.2018 / 21:24
1
answer

$ .post does not work

I made a JavaScript code to receive a JSON, but when data arrives at $.post the code stops being processed. I checked that in php the JSON file is populated correctly before being sent to JavaScript, so I believe the problem is in...
asked by 22.10.2018 / 01:22