Questions tagged as 'json'

1
answer

How to generate a json file with the new news to display on my site? [closed]

I would like to generate a JSON file for my site to display the latest news on top for another third party site!     
asked by 02.07.2014 / 22:12
2
answers

Error trying to deserialize JSON from a webpage

I'm using Luis.ai to create my neural network of intents and the Microsoft Bot Framework to create my chatbot, but I can not read a json that Luis is generating for me. Luis's class: public static async Task<LuisResult> GetResponse(st...
asked by 27.08.2017 / 04:04
3
answers

how to send 2 values to the php get & get http // localhost / ... php? kk = par1 & zz = par2 ";

Hi, I'm having a problem with my web server, and I'm having problems with the web service. ... but I need to assign this to the url of the code ... I thought I had it but somehow my list goes back empty and does not return anything via gson .......
asked by 08.04.2016 / 20:15
2
answers

Detect when a new file was created

Details: I have an application where: I have an AJAX request with JQuery triggered every time I new users are inserted by passing the necessary data to a PHP file that receives them via POST and creates a JSON file with these data. Th...
asked by 17.11.2015 / 15:58
1
answer

How to use foreach with this type of JSON (PHP)

I'm trying to display the values of a JSON with PHP most unsuccessfully. Used Code: JSON { "friendslist": { "friends": [ { "steamid": "76561197960265731", "relationship": "friend",...
asked by 29.12.2015 / 20:53
1
answer

Is it possible to convert an image to a string in JSON format?

I wonder if it is possible to convert an image to a string in JSON format. If so, could you explain to me how? (if possible with example codes). I need to do this to send those images to a webservice which will be responsible for saving it to th...
asked by 03.08.2017 / 20:07
1
answer

List Javascript objects in a table

Good afternoon. I have an object: var relatorios = [ { "Data": "28/08/2015", "Descricao": "Visita a Cliente", "Classificacao": "Class.2", "Valor": "R$435,00", "Verba": "RH", "Comentario": "Cliente A" }, { "Data": "15/05/2013",...
asked by 05.09.2015 / 21:46
3
answers

Why does 'getJson' not work? [closed]

My select-menu.json file looks like this: { value: "1", descricao: "1" }, { value: "2", descricao: "2" }, { value: "3", descricao: "3" }; And I'm trying to get it this way: $(document).ready(function(){ $.get...
asked by 28.08.2015 / 22:47
1
answer

ReferanceError while executing script

The code below changes the innerHTML of a DIV and when I run the function item.Footer(); the javascript console tells me "ReferanceError 'item is not defined?" (function() {var item ={ Name: "site-info" Html: "Powered by <...
asked by 27.04.2015 / 17:02
1
answer

Variables in a JSON - PHP

Is there any way to vary the value of a JSON? Let's take an example: I have the following JSON { "ISteamClient": 0, "ISteamFriends": 0, "ISteamUser": 0, "IEconItems_440": 0, "IEconItems_730": 0, "ISteamGameCoordinato...
asked by 10.02.2015 / 00:00