Questions tagged as 'json'

4
answers

Upload file with AJAX

I would like to know if there is any simple way to upload files via AJAX + JSON. If there is one, what would it be?     
asked by 18.03.2014 / 18:55
2
answers

Is it possible to handle receiving data in camel casing using OData?

In the Register method of the WebApiConfig class I have set a CamelCasePropertyNamesContractResolver public static void Register(HttpConfiguration config) { //Resto do código removido para brevidade co...
asked by 25.05.2016 / 15:37
1
answer

What is and what is JWT for?

I saw in some comment here on the site, in some question, talking about JWT to solve an authentication problem. I had seen the term loosely before and I thought it was something Java (hehehe). However, by looking at jwt.io , I realize...
asked by 26.09.2016 / 18:24
4
answers

What is JSON? What is it for and how does it work?

I often come across this JSON but I do not know what it's for and how it works.     
asked by 04.02.2014 / 13:50
2
answers

What are the main differences between JSON and BSON formats?

I was reading an article on Internet , where it was commented on the format BSON ( Json Binário ), however I had some doubts about it: What is BSON ? For what reasons was it created? Is there a big difference in perfo...
asked by 29.12.2016 / 21:00
4
answers

Capture the JSON values that are Online

My problem: I need to read a JSON that is in a certain URL. I tried the following code, but it does not work: JSONObject jsonObjeto; JSONParser parser = new JSONParser(); URL url = new URL("http://www.exemplo.br/teste.json"); String x =...
asked by 18.02.2014 / 18:44
7
answers

How to convert a JSON response to an object in C #?

I'm making a request and getting a JSON like this: { "id": "1000000000000000", "name": "BrunoLM", "first_name": "Bruno", "last_name": "X", "link": "http://stackoverflow.com/users/340760/brunolm", "username": "brunolm", "bio...
asked by 20.12.2013 / 13:39
3
answers

Deserialize JSON Array in an Object Array

Good afternoon, I decided to ask because I have been caught in this for 3 days and no matter how much I have searched, I have not found a solution to my problem. Access a Web Service via C #, HttpClient, and get a Json in the following format:...
asked by 29.01.2016 / 18:44
4
answers

Why and when to use XML instead of JSON?

JSON has at least two advantages over XML: parsing is faster Occupy less bytes There are still people who prefer XML. Is there any reason to prefer XML? Or in what situations is it most appropriate (and why)?     
asked by 06.06.2014 / 17:58
2
answers

Is there a REST specification for uploading files?

I have a question almost a month on the subject. At certain point in my application, the user can upload to a library of files. This upload needs to be logged in a table named midias , where, in addition to the file path, I also need ex...
asked by 22.10.2018 / 16:15