Questions tagged as 'json'

2
answers

Problem with array

I have a very simple and strange problem in an array in which I declare it for example: $scope.pactUpdates = []; The problem is when I push on that array and I want to assign the value of a control that is empty. $scope.pactUpdates.push({...
asked by 12.07.2017 / 18:02
1
answer

Collect JSON from an API with Angular 2

I try to pick up the JSON provided by an API that I have created in a service, but I do not receive it for whatever reason. getLibro(id: string){ return this._http.get(this.url + 'libros/' + id) .map(res => {...
asked by 05.06.2017 / 13:18
2
answers

I have problems recovering an array in jQuery from Ajax

I have the following code in jQuery: $("#Eng").click(function(evento){ alert ("Entro en cambio idioma."); //elimino el comportamiento por defecto del enlace evento.preventDefault(); $.ajax({ type: 'GET', url: 'FAjax.php',...
asked by 09.03.2017 / 21:15
1
answer

Connect UWP C # to remote MySQL

MY CASE I am trying to connect my Universal Application (UWP) to my website (PHP) which performs queries to my database (MySQL). The results returned by PHP are JSON strings which I have to PARSE in my app through JsonObject . WHAT WOR...
asked by 17.04.2017 / 16:32
1
answer

Uncaught TypeError: Can not read property 'length' of undefined [json, ajax and DataTables]

I can not show the data in my table. With the following index I send the data of my table by json: public function index(Request $request) { if ($request->ajax()) { $modelos = Modelos::all(); return response()->...
asked by 27.04.2017 / 23:22
1
answer

mercadolibre API

I have a problem getting the new id of a item republication directly from MercadoLibre . If I republish an item I get the new id and there is no problem, but if the republication makes it MercadoLibre directly, I do not know how to get...
asked by 08.11.2016 / 03:20
4
answers

Convert xml to array or json in php

Can you please help me to convert some data that I have in xml to json or to an array in PHP? This xml I consume it from a web service and when using a var_dump or echo I confirm that I do have an answer and the data that I require, however,...
asked by 15.12.2016 / 20:36
1
answer

Create a web service with java that returns a query from bd in json [closed]

I wanted to know if you can explain or pass a video or page that explains how to create a web service with java where I have to pass a string and given that string go to the bd to find a record and return the data of that record in json format....
asked by 31.03.2017 / 20:29
1
answer

Problems iterating (angular.forEach) in a JSON subarray

I'm trying to access a sub-fix JSON from Angular , but apparently it does not find the nodes of the array. Code: var app = angular.module('feedReddit', []) app.controller('FdRditCtrl', function ($scope, $http) { $scope.posts =...
asked by 31.01.2017 / 15:31
7
answers

Problem to convert JSON to JAVA object

I have the following JSON , it is a response of API : { "ES1800496542831234567890":{ "transactions":[ { "idmovimiento":"714597", "fechaoperacion":"2016-05-27", "fechavalor":...
asked by 10.10.2016 / 21:44