Questions tagged as 'json'

0
answers

build components dynamically with json

var componentesHTML = { newBlock: '<div class="componente" data-componente="newBlock" style="width: 100%; z-index: 100;">' + '<div class="alert" style="background-color:#951f2c !important;"><span class="sort" style=...
asked by 28.08.2015 / 02:43
3
answers

Access objects other than a Json with AngularJS

I need to list all the "posts" of this Json, but I'm not sure how to access this. I'm trying like this: ng-repeat="post in posts" but it returns me only one information, since I need to access the "posts" object. I already tried to use...
asked by 26.03.2016 / 19:57
1
answer

Help for building a json file

arrayPerguntas = [{ bloco: $("#bloco-num").val(), perguntas: [{ numerodapergunta: numeroDaPergunta[0].value, numerodaperguntaSemPonto: retiraPonto(numeroDaPergunta[0].value),...
asked by 29.07.2015 / 23:43
1
answer

Return in each getJSON - Jquery

I would like to know the following how do I give return in a function created by me in a situation below. For always returns undefined object, but when I give an alert it returns the normal object. function jjson(url){ var result...
asked by 30.04.2015 / 21:43
0
answers

display list of return items in json format with php and mysql

I'm developing a website for a real estate company, at the moment I'm listing properties and paging the result with sql queries, more than 2000 properties are listed and there is a significant delay in loading the content. I'm thinking of return...
asked by 16.10.2015 / 17:18
1
answer

mount a json file on client-side or server-side?

The .json file I'm developing is entirely being mounted on the client side, is this a good practice? a part of the code: array.form[array.form.length - 1].perg.push({ numerodaperguntaSemPonto: retiraPonto(nu...
asked by 20.08.2015 / 14:15
2
answers

Json with an empty list C #

I have the following question I have a class that contains a list and I have another class that reads a JSON class Reading class calls the entity class and assembles the object but when one of the lists comes empty it the following error.   ...
asked by 21.08.2015 / 19:47
2
answers

Receiving Json php values in Javascript for Chart.js graphics

Live, I have 2 graphs and wanted to bring them values from the database so I use php and bring the values with Json as follows: $pe= array(); $pe['fechados'] = $total_fechados; $pe['aguarda'] = $total_aguardar_resposta; $pe['...
asked by 13.07.2015 / 13:18
1
answer

What is the correct notation for learning to create configuration files for nodejs, bower, and others?

What is the correct notation for specifying a JSON file that has multiple nested brackets and brackets? I see this in bower, grunt, nodejs, npm, etc. and various web development plugins.     
asked by 10.06.2015 / 00:47
1
answer

How popular is a JSonObject in hand?

I'm trying but not right, I wanted to put it in the created hand, as if I had already received my JSON file. I tried to put the JSON structure inside the JSonObject but it did not work.     
asked by 16.06.2015 / 20:42