Questions tagged as 'json'

2
answers

Doubt Json loop

I have a Json movie file and it is quite long for what I really want but that is not the case, the problem of it being so long is that I want to add several more fields to each movie and I am quite new to the time to work on these types of files...
asked by 26.04.2018 / 18:25
1
answer

Ajax-Error using Json in PHP

I'm using Json to make an insert in MySQL using ajax, but I do not get any results and the insertion is not done, what am I doing wrong? JS code $("#btnprueba").click(function () { var array1 = []; $("#tabla .DataRow...
asked by 30.04.2018 / 06:21
3
answers

Pass data from JS to PHP

How can I not pass certain data from js to php: The structure of some radios buttons <input class="rad" name="1" id="106" value="0" type="radio"> <input class="rad" name="1" id="45" value="0" type="radio"> <input class="rad...
asked by 14.05.2018 / 18:56
1
answer

Send Json from jQuery to Spring mvc

I want to send a Json with this format { "tarjetas": [ {"nombre":nombre, "id": id, "lista": lista, "idLista": idLista}, {"nombre":nombre, "id": id, "lista": lista, "idLista": idLista} ... ] } I build it like t...
asked by 29.03.2018 / 12:20
1
answer

Xamarin Java.Lang.IllegalArgumentException: No view found for id

Hello friends, I am receiving a Json in my app in Xamarin but when I try to receive 2 int parameters, this error appears. ..    Java.Lang.IllegalArgumentException: No view found for id 0x18 (unknown) for fragment FragmentContainer {a5f3...
asked by 28.03.2018 / 23:30
1
answer

Render two lists by commas in a bootstrap element by js

I do not know how old-fashioned this is ... or that you recommend me to do about it, but I have two lists separated by commas    122,1,3,1,1,2,2,1 and    EMPLOYEES, ANALYST OF ACCOUNTS PAYABLE, GENERAL ASSISTANT, BECARIO, DEVELOPER BI,...
asked by 16.04.2018 / 18:14
2
answers

Store values in Array from fetch

let arrayDatos = []; arrayDatos = fetch('url') .then(response => response.json()) .then(posts => return posts) I'm trying to fill an array with data that returns the fetch function, but asynchronous Javascript I can not fill it. U...
asked by 09.04.2018 / 21:52
1
answer

Create an array of JSON objects with PHP

I have 3 classes in PHP which I use to extract information from a database with which I would like to print or return an array with json objects from all the states and their respective countries so that it will be somewhat similar to the follow...
asked by 22.05.2018 / 07:46
1
answer

json file values are not returned in php

I have the following function, which returns the values contained in the file conf.json, which I verified that it exists, that has values inside, and that the route is correct. public function getJson(){ $get = file_get_contents('conf.json...
asked by 25.03.2018 / 20:05
1
answer

PASS JSON DATA FROM ONE TABLE TO ANOTHER IN MYSQL

Hi, I would like to know if someone can help me with this inconvenience that I have. In a column of a table in Mysql a list JSON is saved like this: { "Sender": "[email protected]", "X-Mailgun-S...
asked by 16.03.2018 / 16:51