Questions tagged as 'json'

1
answer

How to traverse the values of an [object Object]

I need to get the values of each key within a loop . The values are in "Blocks": [ { "estado":"Ceará", "cidade":"Fortaleza", "nome_revendedor":"Zélia", "telefone":"85 9999999", "email":"[email protected]...
asked by 07.01.2016 / 19:25
2
answers

Ajax request data with AngularJS is not arriving at the action method

I know this is very basic, but I'm starting now. I'm creating a neighborhood registry, using AngularJS, my backend is in C # with ASP.NET MVC. My method is called by view , but does not get JSON: This is my save method on BairroControlle...
asked by 23.12.2015 / 12:55
1
answer

PHP client data list in JSON

Good afternoon guys, Well I have a CRUD in PHP and I need to have the registered clients shown in another URL in JSON But I've been a bit weak in PHP, I have no idea how to do this with data coming from a query in the DB, does anyone know...
asked by 04.10.2015 / 01:22
1
answer

Error listing Data via Json [duplicate]

I am using a method to return an object of type JSON but it is not listing the information: My Controller public ActionResult GetDados() { int codigoVenda = 2; try { SistemaDBEntities db =...
asked by 13.10.2015 / 22:01
1
answer

Using JSON in C # and adding points in GMAPS

Good morning, I'm developing a C # web application that uses GMAPS to add comments to addresses. I have a page where the user enters the comments (and the page captures latitude and longitude) and saves it to a MySql database. I found a...
asked by 13.10.2015 / 13:01
1
answer

Return Json with related data - Laravel

I'm creating a REST API but I stumbled on this issue where I can not imagine a solution. In my database I have 2 tables; Table 1 - General product data such as name, code, sku and description Table 2 - Variable product codes. Table 3...
asked by 30.11.2015 / 13:08
1
answer

Angular in PHP page read an API generated in php

I'm talking about this example: <div ng-app="myApp" ng-controller="customersCtrl"> <table> <tr ng-repeat="x in names"> <td>{{ x.Name }}</td> <td>{{ x.Country }}</td> </tr> </table&...
asked by 07.07.2015 / 20:15
1
answer

DELETE Ajax Request on an SDN Floodlight Controller

I have a function in my JavaScript that makes an Ajax request for the REST interface of a Floodlight controller. function excluir(nome) { var jsonExclui = ("{" + '"name": "'+nome+'" }'); alert(jsonExclui); $.ajax( { url...
asked by 16.06.2015 / 03:28
1
answer

Jackson - Converting Objects with Circular Dependency

Given the classes below, we need to solve the problem of infinite recursion (cyclic dependency), and for this we use @JsonIdentityInfo, from Jackson 2 +: @JsonIdentityInfo(scope=Parent.class, generator=ObjectIdGenerators.PropertyGenerator.clas...
asked by 15.04.2015 / 22:05
1
answer

How to return all groups I participate in facebook in rss, json, php

Good afternoon, I have a question I have already researched everywhere but facebook has changed api, and it is not retuning the groups, I would like to know if I can return in some format all the links of my groups or some way to treat this page...
asked by 10.08.2015 / 21:18