Questions tagged as 'json'

4
answers

Is it possible to comment on a JSON file?

Can I comment on a JSON file? If yes, how?     
asked by 05.05.2015 / 20:08
5
answers

Transforming a JSON information into a variable

I'm calling a function in node.js and it returns a JSON: { "pair": "BTCBRL", "last": 2280.0, "high": 2306.0, "low": 2205.0, "vol": 113.17267938, "vol_brl": 255658.20705113, "buy": 2263.0, "sell": 2279.77 } I would like to us...
asked by 12.01.2017 / 14:51
3
answers

What is payload?

I have always seen in some frameworks that work with REST or with sending data in JSON format in a request the use of the expression payload . What does this name mean in HTTP requests? What specifically is a payload ? Is a body of...
asked by 07.03.2017 / 17:48
7
answers

Understanding the JSON file

I have code similar to this in JSFiddle . On my WAMP server at home I tried to work with JSON (JSFiddle does not contain the JSON file to test). In a question I asked about how to insert data into a database with jQuery answered me that...
asked by 30.01.2014 / 19:14
1
answer

Download text from a textarea as a file without server-side language

I need the user to click a button to download the text text as a JSON file, for example: User clicks the button - > Begins downloading file textarea.json An example that best expresses: downloadFile(document.querySelector('...
asked by 21.04.2014 / 14:45
2
answers

How to filter data from a JSON with JS?

Well, I'd like to know how to do a "select" within a JSON file using JS. Example: IhaveatablebelowusingdatacomingfromaJSONfile,butIwantedtomakeafilterforwhenIclicksearch,itdropthetableintotheresult.Note:IdonothandlealotofJSframeworks,buti...
asked by 14.09.2015 / 19:27
2
answers

Get JSON data array and print with jQuery

I have a JSON in the following format: { "representantes": [ { "nome": "Foo LTDA", "endereco": "Alameda dos Anjos", "cep": "12345-000", "telefone": "(11) 1234-1234", "site":...
asked by 13.02.2014 / 16:08
1
answer

What maximum size can a JSON file have?

I will give an example to explain my doubt: I need to retrieve image information from an API, this image bank returns JSON's with information of the images I need, in total there are 33 million images and I will request 100 in 100 thousand....
asked by 30.11.2017 / 17:31
1
answer

What is the "application / ld + json" type used in a script tag?

I was looking at the source code of the Kickass page and this passage caught my attention: <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "https://kat.cr", "potentialAction":...
asked by 09.03.2016 / 00:52
2
answers

Serialize object list for JSON: A circular reference was detected while serializing an object of type

I'm trying to Serialize a list of objects to Json and I have received the following error: An exception of type    'System.InvalidOperationException' occurred in   Microsoft.Web.Extensions.dll but was not handled in user code   Additio...
asked by 07.10.2014 / 15:36