Questions tagged as 'json'

1
answer

How to add 2 variables within a JSON obtained from a Web services in angularjs?

I have a big question, today I am consuming data from a web services as always, using angularJS and I have a new problem: I consume a web services that in response gives me the following: {success: "true", n_sucursales: 2, id_sucursal: "19"...
asked by 01.10.2016 / 03:43
1
answer

Select request for data request from an api json?

More than a question, it is a query, I am currently with an api serving data, and I have arrived at the following situation, I have a user preferences table, where the configuration options of each user are stored, with json, I do I get a get an...
asked by 08.10.2016 / 20:36
1
answer

Error method post Requests in python

I'm doing a script that makes me a POST method. I follow the library documentation requests . I have to make a login; when I use the method GET no error arises. It consists of several tags with enable ( value=1 ) and...
asked by 05.10.2016 / 15:58
1
answer

Pie Chart error public static double

I have 4 pie charts in ASP.NET C #, I use webservice and Jquery, something is not working properly. The main error is the following: I have a sliderbar that if I do not slip it in the first 10 minutes, the memory of the information that was s...
asked by 20.09.2016 / 19:56
1
answer

Save function value base64 in array?

I am working on an application in ionic framework and I need to send the following object by $http by post method. $scope.project = { name: '', description:'', location: '', imgs: {}, video: '' }; I ha...
asked by 20.08.2016 / 08:44
1
answer

Custom decode for JSON with PHP

I have a class: class NodoArbolDHTML{ var $id; var $name; var $data; var $children; public function __construct($id,$name,$resultado,$tipo){ $this->id = $id; $this->name = $name; $this->data...
asked by 18.08.2016 / 13:02
1
answer

How to get Json data from several urls to render a single DataTable

I have two URLs that serve data of objects in JSON format, both formats have the same structure, except for the type of equipment: First URL: link { "id": 1, "tipo_equipo": "EquipoA", ///Esto es diferente al otro "n...
asked by 16.08.2016 / 12:11
1
answer

Blob inside json object

I have problems trying to store the data of a blob object inside a json object with javascript . This is what happens: I can recover the object of an image passed through a javascript file (FileReader): var blob = new Blob([readerImage...
asked by 11.08.2016 / 19:58
1
answer

What am I doing wrong? I have this JSON.parse error: unexpected character at line 1 column 1 of the JSON data

I'm doing an exercise with PHP and Angular JS, the complete error is this: And I vote just when I'm making a query, I use a controller.js and two php, one is read_products that serves as an intermediary and the other is products, in whi...
asked by 09.08.2016 / 19:44
1
answer

Mapping a json as an html table

I have the following json: { "codEmp": 5555, "empleado": [{ "codEmp": "0001", "descEmp": "Juan Perez", "importe": { "minimo": 10, "maximo": 2500 }, "pariente": [{...
asked by 09.08.2016 / 21:10