Questions tagged as 'json'

2
answers

Obtain a JSON object, sent as an ajax parameter, with asp.net

This is my js. $('#tablaDemo').DataTable({ processing: true, serverSide: true, ajax: { type: "POST", contentType: "application/json; charset=utf-8", url: "../P...
asked by 08.11.2016 / 18:42
2
answers

Go through values of a JSON [duplicate]

Through jQuery I am making a call to a select to bring populations from a province and to be able to fill a selection depending on the province chosen. At the moment I get it right, but I can not get the values that the array brings me....
asked by 14.10.2016 / 11:12
2
answers

How to calculate the accumulated values of a Json?

I have a json that returns an array with a date and measurements. Within the measures there are values that I want to consolidate, after ordering the data by month. obj { 0:{ 'timestamp': "2016-01-02T08:13:00+00:00", 'measure':...
asked by 20.05.2016 / 23:36
1
answer

Error parsing a Json

When I parse a Json downloaded from here I get the following error:    Error: Error Domain = NSCocoaErrorDomain Code = 3840 "Unterminated string   around character 6464. "UserInfo = {NSDebugDescription = Unterminated   string around charact...
asked by 18.08.2016 / 01:54
1
answer

Error creating components from an array

Based on this question I tried to do the same but I do not get anything. function displayResults(container, results) { var table = $("<div class='row tabla' id='tabla1'>"); $.each(results.filas, function(i, filas) {...
asked by 04.01.2016 / 06:41
2
answers

RECORRER JSONOBJECT, ANDROID

I need to take the values that are within REGION "addresses":[{ "id":2, "customer_id":2, "region":{ "region_code":"NY", "region":"New York", "r...
asked by 12.12.2018 / 14:42
1
answer

JSON Java management

Good morning, I have to consume a json from a lading that is stored in mysql, I already get the field but when trying to read the json it generates error, the json that I consume is the following: [{ "label": "Nombre Completo", "value"...
asked by 04.12.2018 / 16:12
1
answer

NgForm problem when inserting an input of type date, the entire form is deformed

Hello, I have the following form: <form #formulario="ngForm" action="" (ngSubmit)="insertarEmpleado()" ngForm> <div class="example-container"> <mat-form-field hintLabel=""> <input matInput #input maxle...
asked by 03.12.2018 / 12:42
1
answer

Read Java JSON file

I have a JSON file which contains key-value information. This information consists of characters that are stored in 8x8 matrices. At the time of reading it, it returns all the contents of the file and what I want to do is to get the value of eac...
asked by 25.08.2016 / 12:27
1
answer

Link select with AngularJS data

I request your collaboration to indicate how to link the data of an object with <select> app.controller('nombreCtrl', ['$scope', '$http', function($scope, $http) { $scope.nino = { nombre: 'Julian', sexo: 1, edad: 0,...
asked by 30.08.2016 / 14:34