Questions tagged as 'json'

1
answer

How to insert value of Json variable into a href attribute? [duplicate]

A question I wanted to put a variable inside the link href without using code, that is direct in the creation of the link. The example is just below: <a href="http://websro.correios.com.br/sro_bin/txect01$.QueryList?P_LINGUA=001&P_...
asked by 08.05.2014 / 14:20
2
answers

How to get JSON from an external url

I'm trying to get a JSON from an external page, I'm using dataType=jsonp , but only that url, returns me a JSON and the following error: / p>    Uncaught SyntaxError: Unexpected token: The JSON returns me the following token: {...
asked by 14.09.2015 / 19:57
0
answers

problem with larger space character

Hello, in the system I developed, I'm having a problem receiving json, when I copy and paste information into the input, and write to the database with a character that is like a single space that is greater than ... I use security: addslashes (m...
asked by 18.12.2018 / 23:42
0
answers

Encoding characters return Json C #

I created a DLL in C # with some HTTP methods (POST, GET, DELETE ...) in order to return a JSON to the calling language (in the case of GET). Today I use this DLL for applications created in Delphi7. When I query the API, I'm having troubl...
asked by 18.12.2018 / 17:24
1
answer

Java Android How to assemble a random database?

In the Android application, using Java, I get a string in Json that looks like this: String teste = "{\n" + " \"nometabela\":{\n" + " \"id\":\"f83d6101cc\",\n" + " \"coluna1\":\"codigo\",\n" + " \"coluna2\":\"descricao\",\"coluna...
asked by 23.11.2018 / 12:03
1
answer

Find data with JSON [closed]

I need to, with a <select> </select> , bring the data to some input[type='text'] . I believe it is through JSON and AJAX, because the page can not have any "Submit". For example: I have a <select> </se...
asked by 05.11.2018 / 15:40
1
answer

Json post for PHP

Hello, I need to get the data being passed via Ajax POST. But on the PHP side I can not get past parameters. My Jquery onSave: function(data, name) { pixie.http().post('images/gravar_imagem.php', [{"name": name, "data": data}])...
asked by 23.10.2018 / 22:03
2
answers

How to deserialize Json Springboot webservice

I'm trying to consume the themoviedb webservice and am encountering the following error. ----------------------- POJO ----------------------- -     package com.wsemovie.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @...
asked by 20.12.2018 / 01:04
1
answer

How to re-order a ViewBag, within View?

I'm trying to make a ViewBag that received a list on the controller, be reordered after changing a combobox without the page being reloaded. Passing the List to the ViewBag: public ActionResult Answers(int id) { List<...
asked by 20.12.2018 / 20:10
0
answers

Send Parameter Together Json

I need to make the jsonrequest() function also send the codigo parameter so that it searches only the same data in the MYSQL database. Android function: private void jsonrequest() { request = new JsonArrayRequest(JSON_UR...
asked by 21.12.2018 / 18:23