Questions tagged as 'json'

1
answer

django-python order json

django and I do not know how to sort this list by title order. I'm using: nuevo_json_array = sorted(json_array, key=itemgetter('oportunidad_json')) [ { 'pk': 1 'oportunidad_json':OrderedDict([ ('id',38441),...
asked by 07.11.2018 / 17:41
1
answer

PARAMETERS GET shipping

I have this code js that receives two parameters day name what I want is to get them to another page called mad in which I send direct parameters to a service called days so that Bring me the results and paint them on a div called sample $...
asked by 06.11.2018 / 20:51
0
answers

RecyclerView shows a single data, JSON

At the time of showing data only shows only one, this is my database: When I want to show the supermarket business only the first one appears. This is the code of the activity: package com.example.emiliano.myfirstapp; import andro...
asked by 25.11.2018 / 22:26
1
answer

how can I access the JSON variable?

how could I access this variable in this json     
asked by 05.11.2018 / 16:52
1
answer

Problems with AJAX, JQUERY and JSON

I am new to AJAX and I have several problems. At this moment, I have a code to send data from a form by JQuery and with these, generate a query on the same page. This is the HTML code (although I have it as .PHP): <!DOCTYPE html>...
asked by 03.11.2018 / 15:53
0
answers

How to use several answers with SOAP UI?

I am using models in SOAP UI to simulate a web service but for the moment the model always replies to me the same I want to know if it can be done that depending on what I send, I answered differently, for example: I send this to you: {"ite...
asked by 02.11.2018 / 20:22
1
answer

Why do I change the order of the JSON with JAXB?

I am developing an API Rest with Jersey and I am using JAXB and with the annotation @XmlRootElement @XmlRootElement public class Car { private int idCar; private String model; private String color; public Car() { }...
asked by 08.11.2018 / 22:50
1
answer

JSON and utf-8 problems when inserting data in BD from php

I am currently having a problem in decoding PHP characters, I am calling an API using a file_get_contents () and then calling with a variable: $jsondata = file_get_contents(URL DEL API); $data = json_decode($jsondata, t...
asked by 09.11.2018 / 13:41
0
answers

MultiValueDictKeyError: "'products'"

I do not know why I do not recognize my products as I solve my error, my version is 2.7 of python thanks in advance views.py def comprar(request): productos = literal_eval(request.POST["productos"]) pago = literal_eval(request....
asked by 20.11.2018 / 02:58
1
answer

How do I go through a response from json in c #?

I have a REST API that sends the following answer in json format and I want to go through it in order to add a listview to what I go through. { "resultado": "OK", "datos": [ { "Pago": "1500.00", "Fecha": "2018-09-27" }, { "Pago": "900.00...
asked by 30.10.2018 / 16:47