Questions tagged as 'json'

1
answer

Error with duplicate values in AngularJS

I have a duplicate values problem in AngularJS, in my JSON will always have repeated categories, in ng-repeat I used track by $index but the error persisted. My controller code: angular.module('starter').controller('Guia', fun...
asked by 27.07.2016 / 23:32
1
answer

Generating valid Php Array for jSON conversion

Explaining a little bit about the purpose of the code: Through the query sql returns data, the only data needed is the 'id' and the name of the 'area', so two arrays are created, one to receive the 'id's and the other to receive the 'area's', af...
asked by 11.12.2015 / 22:28
2
answers

graph with data from a REST service

I have a REST service done in PHP and it returns me data in JSON . When consuming the API url in REST, I need to display the data in graphs made in javascript. Does anyone know of any framework in JS that generates graphs of a...
asked by 13.05.2016 / 15:47
1
answer

Ajax + Codeigniter

Good morning .... I just implemented Codeigniter, but I can not use a friendly url ... I try to pass parameters through Ajax, but I can not because of URLs. I already removed the index.php from the file config.php and chan...
asked by 16.05.2016 / 16:59
1
answer

How to allow accentuation return in JSON using PHP?

Attached to the photo of my JSON return Ihavefollowingcode:<?phpheader("Content-Type: text/html; charset=UTF-8",true); $array1 = array(); $contador = 0; $estado="online"; if (!$enlace = mysql_connect('meuHost', 'meuUser', 'Mi...
asked by 24.11.2015 / 10:40
1
answer

Doubt with Array in C # returning data in Json

I have a structure that returns me the results of the header and detail, only the records are duplicated according to the details, as I could only bring the header once, thank the help. //consulta o jogo completo passando o ID do jogo //http:/...
asked by 15.04.2016 / 20:54
1
answer

FullCalendar fill in events by JSON

I'm putting the FullCalendar component into my Java application. I'm having trouble loading events into the calendar. How do I read json from within my js file? The following is the code below: JS file: $.noConflict(); jQuery(documen...
asked by 11.02.2016 / 18:15
1
answer

Sending post to ActionResult via knockout

Personal speech, following: I'm trying to send post using ko , to a ActionResult method of my controller instead of a JsonResult as usual. When debugging the project it goes into ActionResult but does not open...
asked by 24.09.2015 / 00:38
1
answer

Print data from a JSON

I have a SQL query that I have already tested and it is bringing the correct result, my difficulty is in creating an array with the row data, transforming it into JSON and printing to the screen. When I try with an array of strings, it works,...
asked by 26.02.2016 / 17:58
2
answers

Json Array for String Array C #

I just need to get the names of the json moderators and viewers: { "_links": {}, "chatter_count": 16, "chatters": { "moderators": ["gumagames", "juliavidoto", "nightbot", "pinkpanthersz_", "victoriia66"], "staff": [], "admins...
asked by 01.03.2016 / 22:05