Questions tagged as 'json'

2
answers

How to insert items from a JSON file into an html table

I have this JSON file: var identificacao = [ { "nome": "João Silva", "cpf": "444.111.777-00", "rg": "44.66.55.00-1", "nascimento": "28/06/1994", "endereco": [{ "rua": "Av. Marechal Tito", "numero": 155,...
asked by 06.12.2016 / 02:21
1
answer

Undefined index: stream

I'm studying php and I can not understand the reason for this error. It runs the code as it should to some extent. Basically I am trying to use a database where users will enter the twitch nicks (everything working ok so far) and from that datab...
asked by 08.11.2016 / 21:13
2
answers

How do I get a string returned from the inner execution of a URL to turn it into a JSON object? [closed]

I need to run this URL internally on the server. The output of the execution generates a string in the JSON format: {"success":false,"errorMessage":"Token inválido"} How do I get the string returned from the URL execution to turn it into...
asked by 20.11.2016 / 12:08
1
answer

Insert multiple lines GET automatically php [closed]

I have several lines like this: http://192.168.0.1/feed/data.json?id=71667&start=1426031940000&end=1426064520000&interval=30 http://192.168.0.1/feed/data.json?id=71667&start=1426031940000&end=1426064520000&interval=30 h...
asked by 06.10.2016 / 23:26
2
answers

Json Multidimensional for Object in C #

I'm learning C # and am having some difficulty passing a multidimensional json to an object doing a deserialize. I'm not sure how to resolve this. See my json string json2 = @"[ {...
asked by 31.08.2016 / 21:05
1
answer

Json in Jquery returns undefined

Although I have looked at all the various questions about this, I can not get my json to work, the code looks like this: $.ajax({ url: '<?= base_url('login/Pesquisar'); ?>', type: 'POST', data: $("#formulario_pesquisa").seria...
asked by 11.08.2016 / 15:58
2
answers

Retrieve via Jquery custom data attribute value

I am a beginner in programming and I have a question about Jquery (if I am wrong, please correct me ... rs). I have a screen that generates several div's dynamically with information about clubs, and inside each div has a button that when cli...
asked by 29.07.2016 / 21:34
3
answers

How to popular line chart of google charts with JSON

I'm trying to pop up a graph of google-line charts, it will be quite simple just the client name on the x-axis and the amount of open calls on the y-axis, I'm returning the following JSON array    [{"Name": "Test Client", "Tickets": 6}] T...
asked by 29.07.2016 / 14:54
1
answer

Include data in Json beyond what comes via Mysql

I'm building an API in PHP / Mysql that will feed a hybrid APP, also under construction, via Ionic. The data traffic is via Json. I'm a newcomer to Ionic, Angular, JS, and Json ... Reasonable in PHP and Mysql. I mean ... heeeeelllllllp please...
asked by 14.09.2016 / 00:20
1
answer

Set amount of results returned by function that filters JSON

I have the following code to filter a JSON , it works perfectly, the only problem I'm having is to choose the number of results displayed. (currently only displaying a single result). var elemento = document.getElementById("galeria"); va...
asked by 19.07.2016 / 19:48