Questions tagged as 'json'

1
answer

How to generate a json of an object that comes from forms.ModelForm

Hi, I would like to create and save an object in the database which has arguments args and kwargs . the arguments args and kwargs must obey the format JSON , I have the following: class ProgramarActividadForm(f...
asked by 20.01.2016 / 14:28
1
answer

Help to compare Json objects in Java and get a Json of differences!

I have the following function that a Json generates with all the contents of a directory: public static void generateReport(File dir, JSONArray content) throws IOException, ParseException { File listFile[] = dir.listFiles();...
asked by 24.09.2018 / 20:26
0
answers

Convert JSON ARRAY TO STRING

I have this method that is from a list of products public String ProductosFacturas() { float montoTotalf = 0; int productsize = ctPagar.getProductArraylistsize(onGo); //Crear Array de productos del carrito para pasarlos al serv...
asked by 24.08.2018 / 16:02
0
answers

I can not list with ajax php and jquery

When trying to list the products I get an error, the funny thing is that locally it works very well but when doing the deploy it shows me the error "DataTables warning: table id = datatable - Ajax error For more information about this error, ple...
asked by 30.09.2018 / 06:59
1
answer

JSON does not enter the for Swift2

Good, I have this method that reads a JSON from a webservice and stores it in an array. func conecta(){ let myUrl = NSURL(string: "myWebService");let request = NSMutableURLRequest(URL:myUrl!); request.HTTPMethod = "POST"; // Compose a query s...
asked by 18.05.2016 / 10:04
1
answer

I can not connect to the MySQL database with Slim

I'm doing a test and I want to connect to the database Tarea2 and show the table EMPLEADO but I can not connect. My user is root , for simplicity of the task I do not have passwords This is my code. $app->get('/EMP...
asked by 09.08.2018 / 21:27
1
answer

Convert several tables to json from a query in sql

Well I have not been able to achieve the conversion that I need and it seems to me that on this side I could work. Having already generated these classes with link public class ProductoConsultaJ { [JsonProperty("text")] public string...
asked by 14.03.2018 / 02:37
0
answers

Countries and cities JSON [closed]

Good morning guys, By chance, do you know any web service that allows me to consult a list of countries and cities in JSON format? Thank you very much in advance.     
asked by 27.01.2018 / 15:51
2
answers

Use Json in php

Good afternoon I would like to know how I can pass data obtained from api key web, which are serialized. I want to pass them to html table. It comes like this: [{"Plate":"XC9888","Year":"2004"}]1     
asked by 06.07.2017 / 18:45
1
answer

How to recover values from a JSON file to treat them with a sript python?

I have a JSON file valorMercado.js with the following values: {"BTC":{"USD":2167.85},"ETH":{"USD":167.88},"DASH":{"USD":102.31}} {"BTC":{"USD":2253.12},"ETH":{"USD":177.76},"DASH":{"USD":109.17}} {"BTC":{"USD":2251.47},"ETH":{"USD":177....
asked by 29.05.2017 / 12:48