I am trying to convert some parameters that I receive in a json in whole, but for some strange reason I do not get it, can anyone know that I am failing ???
switch (response.StatusCod) {
case (System.Net.HttpStatusCode.OK):
res...
Hi, I'm trying to get the data from an array of json objects and save them in a different javascript array
For examples I get this JSON through an api rest
[
{
"temperatura": 2.3,
"fecha": "2018-02-05T06:13:01.000Z"...
I am trying to bring the data of a bd in mysql, it brings me the last data that has been entered into the bd, but it does not bring all the data
<?php
include('conexion.php');
$json = array();
$link = conectarse();
$select...
I have some problems to accommodate data obtained from an API, they come in "JSON" format, try to accommodate them using an "array" but I did not succeed.
The data that the API throws at me when making a "Get" are the following:
{
"pag...
I try to access the values of the response I receive through AJAX but I am not capable. The JSON that receives the function in success I think is fine, but when I access its elements these have value undefined .
If I throw in the...
I have this ajax function:
function GuardarJson(url,que,id,cod,param,respuesta) {
var Daticos = {id: id ,codigo: cod, respu: respuesta };
$.ajax({
url: "Paginas/"+url+"?que="+param,
data: Daticos,
type: "post",...
I bring my json from a php and I pass it as string to my activity class via onPostExecute from AsyncTask :
public String doInBackground(String... params) {
String type = params[0];
String registro_url = "http://...
I have a problem I am trying to pass a series of $ .getJSON script to $ .post:
$(document).ready(function(){
//getdeails será nuestra función para enviar la solicitud ajax
var getdetails = function(id){
return $.getJSON( "index...
When checking if the following values exist for the "propertyName" attribute, I want it to show it to me if it does not exist . But the problem is that I get repeated values , as many times as objErrList.length there is.
If it finds value, it...
I have another problem that I do not know how to do it.
I have a Json with several data and I have to make an average between 2 json data
angular.module('playersApp', []).controller("AllPlayerssCtrl", function ($scope) {
$scope.players = [...