Questions tagged as 'json'

2
answers

Expected a List while deserializing, but got a class java.util.HashMap Firebase Android

I'm surprised to have this failure because it happens to me just initialize the app and it never happened to me. The fault can be something of the json? I leave the code where the fault occurs public void datos() { navMenuName.setText( us...
asked by 05.08.2018 / 17:21
1
answer

How to read an XML with prefixes and without prefixes in Freemarker

I'm trying to read an XML in freemarker but I can not make it read the contents of it. Here I leave the XML: --------- [XML] -------------- <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?> <Comprobantes> <Compr...
asked by 07.08.2018 / 15:38
0
answers

Read an XML with prefixes in JSON with Freemarker

I am trying to read an XML with the UBL structure by means of JSON and Freemarker following some examples that I found in the network but still it does not manage to pass me the value and only throws me error. Here I leave the code. ---------...
asked by 06.08.2018 / 21:13
1
answer

how to extract data from a JavaScript array and insert them into a PHP query one by one in different inserts

Good day programmers I have a doubt I would like you to help me with something I have the stored value of quantity that I store it within cantid = []; and then those data with a json I take them to a query in PHP the values that are not fixes ar...
asked by 02.08.2018 / 18:34
0
answers

How can I consume the lat and long data of my Rest (Json) service and paint it on a map?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Insert title here</ti...
asked by 31.07.2018 / 23:38
0
answers

the javascript parameter is not recognized by the php query

function prueba(){ var prueba=2; // var usu=document.getElementById("usu").innerHTML; $.getJSON("json/ingresar.php", {prueba:prueba}, function(resulta){ var valor = JSON.stringify(resulta); valor2 = JSON.parse(valor);...
asked by 02.08.2018 / 16:06
1
answer

Graph Highchart (column) from Linq query

Although there are a lot of questions, I tried everything and every one of the examples but I can not make what I need work. First I ask the database to look for receipts issued during the year to be grouped by months: View where I choose the ye...
asked by 29.07.2018 / 05:17
1
answer

Return variables to success of ajax request

I am trying to return variables within the success of an ajax request to validate that "such a thing" was done within the system, in this case not to let it advance until it adds elements to a list. $("#saveList").on(\'submit\',(function(e) {...
asked by 28.07.2018 / 22:50
0
answers

SyntaxError: JSON.parse

I have a simple WS, made in php, everything was fine, I use it from an Android application, but for some time it has shown me an error when doing login, something that JSON is not consuming correctly because of this problem and I get a bla...
asked by 02.08.2018 / 04:04
0
answers

Paging comments mysqli and JSON

I have this code to page comments and answers but does not recognize it: ListaDeComentarios.php: require_once ("Conexion.php"); $memberId = 1; $commentId = $_POST['comentario_id']; $likeOrUnlike = 0; if($_POST['like_unlike'] == 1) { $likeOrUn...
asked by 28.07.2018 / 03:37