Questions tagged as 'json'

1
answer

How to use JSON in ASP.NET MVC

I'm a beginner in Asp.Net MVC, and I'm developing an application that manages Courses and on my sign up screen I'm trying to validate that if student is already signed up in a course and he tries to sign up again in this same course , a...
asked by 01.07.2015 / 05:48
1
answer

Problem with JSON - Python3.4

I'm working with the API of BuscaPé to be able to remove information from some products of the site, the problem is that I can not manipulate one of the values of the json returned. Here are some results I could get: resp = buscape.find_produc...
asked by 23.09.2015 / 00:39
1
answer

Customizing Json consumption - Web API

I have the following information in Json: [ { "$id": "1", "Cditemcontacli": 1.0, "Cdcontacli": 1.0, "Descricao": "Produto 1" }, { "$id": "2", "Cditemcontacli": 2.0, "Cdcontacli": 2.0, "Descricao": "Produto...
asked by 22.09.2015 / 20:27
0
answers

Catching a JSON using JavaScript [closed]

Django creates a file named views.py , in which I have the following function: def carro_view(request,carro_slug=None): evento = Evento.objects.filter(time = '11:28:30').distinct() data = [] for x in evento: data.append({...
asked by 09.02.2015 / 17:19
1
answer

Using json to copy data (Django)

I thought better, and I think I'll use json. def entry_detail_json(request, pk): data = Entry.objects.filter(pk=pk) s = serializers.serialize("json", data) return HttpResponse(s) But being on the page http://localhost:8000/ent...
asked by 30.07.2015 / 22:29
0
answers

FileNotFoundException being thrown on Twitter search - Java

I have an algorithm that does a search for old Twitter tweets between two dates. My goal is to return all tweets. The code was like in the question of this post a> (may be a parameter) a few days ago and was working, but due to some changes to...
asked by 30.07.2015 / 23:15
0
answers

Object request json always returning NULL in php

I'm trying to access a server and send data / receive return on json object with the php language. <?php header('content-type: application/json; charset=utf-8; Accept:application/json; Accept-Language:en-US'); To start, I configured the...
asked by 29.05.2015 / 03:12
0
answers

How to read the specifications of a Web Service REST [closed]

Hi, I need to create a project with consists of consuming a web service REST, where consuming this web service I need to generate an XML with the information / specifications of it, what are your methods, method return types, method parameter...
asked by 27.10.2014 / 19:57
1
answer

Problem with large size JSON on android [closed]

I'm getting a JSON file from a WebService, this file comes with the approximate size of 5.7M, so when I'm going to convert your content to JsonArray using the Gson library, it gives me the error:    com.google.gson.JsonSyntaxException: com.go...
asked by 12.08.2014 / 14:22
2
answers

Variable value undefined js

I'm developing a mobile application with the cord, in the mobile version there is a BD that is checking if there is any change in the BD online, if there is an update on the mobile phone, follow my code below: var serviceURL = "http://projeto....
asked by 07.07.2015 / 15:08