Questions tagged as 'json'

1
answer

Problems with accentuation when reading JSON file data

The method below is extracting data from a JSON file, to populate a DropDownList. public static List<Uf> GetAll() { var client = new WebClient(); JsonSerializerSettings settings = new JsonSerializerSettings(); settings.Culture = ne...
asked by 10.10.2016 / 21:30
1
answer

How to use Atlassian Connect to get Jira data and generate a JSON?

I need to make a script that gets some data from Jira and I believe you have to use the Atlassian Connect API that uses a server in Node.js. However, I do not want to manipulate the data using the API and rather just get them and manipula...
asked by 15.09.2017 / 13:09
2
answers

How to save JSON file with Node.js

I want to make a website to test some things. The site is running on my home server made with Wamp. I was told I could make a small database using JSON files. I have a JSON file in the site folder that contains the following: [ {...
asked by 31.01.2014 / 01:57
2
answers

PHP json_encode with boolean and decimal values

I have a PHP function that gets data from the database and returns an array with the results. This array by default has all the data as a string , however some fields should be treated as boolean while others should be treated as values (mone...
asked by 07.11.2016 / 16:45
2
answers

Concatenate variable in array

I have to request a json for a api , however I have to retrieve data from a form to complement this json , the problem is that by saving the data to a variable I can not put it Correct way within that json , I tried to c...
asked by 04.11.2017 / 20:28
2
answers

Why is JSON not considered a markup language? And why is XML?

I was researching the differences between JSON and XML so I read that XML is a markup language but I did not read anything about JSON.     
asked by 01.06.2017 / 23:14
1
answer

Deserialize Json list

For when return is only 1 record I use the following: { "id": "27", "name": "Daft Punk", "link": "https://www.deezer.com/artist/27", "share": "http://www.deezer.com/artist/27?utm_source=deezer&utm_content=artist-27&utm_term=767...
asked by 12.01.2016 / 11:56
1
answer

Pass values from a JSON to the html via Jquery

I'm trying to get the data from the JSON of the twitch and manipulate them in html, in case I wanted to put together a simple list with the online channels, using the alert it shows the channels but I thought to print the list in a ul, li withou...
asked by 06.01.2015 / 17:49
2
answers

Get values with names in JSON

I have this following JSON : {"nome_rede":"lucasl","nome":"Lucas Lima","imagem":"http:\/\/intranet.supersoft.com.br\/novo\/usuarios\/fotos\/lucasl.jpg"} How do I get it using AJAX? So far my code is like this, it's not catching any...
asked by 14.11.2014 / 15:08
1
answer

Loop in json that returns all records

I am developing a system, I am doing a search with ajax and it returns a json with the bank records, but I could not elaborate a loop in PHP so json would be able to return all records. Here is my code: display.php <div class="for...
asked by 29.05.2017 / 22:24