Hi
i wrote webservice in .net which return json string
WebService(Namespace = "AndrewRowland")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ScriptService]
public class Service1 : System.Web.Services.WebService
{
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string HelloWorld()
...
Hi,
I'm new in JSON, but now I need to use JSON for my Flash ActionScript 3.0. So I found one lib for JSON and I have seen the terms Deserialize & Serialize what does that means.
...
Hi,
In my rails app, I am setting up my own admin with the help of http://github.com/linoj/gridify. That works really well with one exception: HTML gets rendered in the table view which blows the cells up like crazy. I use
white-space:nowrap;
in my css which helps against other formatting trouble.
I still need to either get rid of...
Hello
Is there any way to have Json.net serialize an object directly to a NetworkStream?
In other words, have Json.net send the serialized result to the network as it serializes the object (in a streaming fashion).
I would like to avoid having to serialize the object to memory and then send it via the NetworkStream.
Any thoughts?
Re...
I've been charged with creating a simple data source so clients can retrieve a list of things by JSON. Each thing has an ID, so my first impulse was to create something like
{
"13": {
"name": "foo",
"height": 17
},
"18": {
"name": "bar",
"height": 22
}
...
}
But I've been told that this...
Hello all,
In the following two different forms, both server side php script return
something like this json_encode($results);
So I assume that the client side should get JSON data.
However, why in case I, the returned data is text and we have to make some conversion before we can access the JSON data.
in case II, the returned data ...
Hello,
Im trying to login to yahoo messenger using the newly released messenger api.I referred to http://developer.yahoo.com/messenger/guide/ch05s03.html .I signed up for the API and have got a Consumer Key and a Consumer Secret.My yahoo id is [email protected](not the real one,just for the sake of example).To login i hit the following ur...
Hello,
I'm having an annoying issue, on complete i get undefined when trying to make simple url validation. success working fine.
i get a valid json response:
{"error":"some error"}
and this is my jQuery
$("#myform").submit(function(){
dataString = $("#myform").serialize();
$.ajax({
type: ...
Hi,
I am using facebook's graph api to retrieve user's information. First I retrieved the access_token.
Then, I tried using jquery.getJSON() method to retrieve user's id and name.
<div id="result"></div>
<script>$.getJSON("https://graph.facebook.com/me/?access_token=111978178853984|2.lg65A3c0atficNsFcf7Rog__.3600.1279922400-100001XX...
Is it a good idea to return thumbnail images in base64 through JSON in a RESTful call for populating UITableViewCell's? Or should one really make n requests for n images (lazy loading)? What's better?
Thanks!
...
We are building a webservice which consumes and produces JSON.
Problem:
We are kind of confused about how to represent some specific details of a object.
Example: we specify any empty element or null element as null in JSON
The question we ask our self is how do we represent a object when its properties are all null.
example: car is...
Hi,
I'm trying to pass JSON array values into my javascript file and use the values as selectors to call methods on corresponding html divs.
for example:
function clickEvents(items) {
for (var r = 0; r < items.length; r++) {
var omega = items[r].id +;
$(omega).click(function() {
alert('Thanks for adding item numb...
Hello guys, is any way to access the list of links publicated by my friends on facebook via RSS or Json (or any other standard format) ??
What information from my friends feeds on facebook can be access in standard format? (and how)
Thanks!
...
I am pulling events into the calendar using JSON and php. I am know trying to add evenClicks or mouseOver events the the calendar and when I do I get a blank page. My JS knowledge is rather novice so at this point I'm stuck
Heres my calendar script
$(document).ready(function() {
$('#calendar').fullCalendar({
header: {
left: 'pr...
Hello Guys,
am developing a balloon notifications for my social network. i came across this error when there's 2 or more notifications. i checked my json response on jsonlint.com i got error at line 6
JSON response:
{
"nid": "1101",
"img": "<img src=\".\/images\/icons\/he_wall_post_icon.png\">",
"notifier": "Sarah O...
this is my code that has geo-rss from google maps rss:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Google AJAX Feed API - Simple ...
Sorry for asking a basic question like this but I've been reading on this for a few hours now and the examples aren't making sense to me in context of the way my array is.. I have been able to pass this from my server side (cakephp) to the javascript (I'm using jquery) but after that, I am lost as to how to make use of the data.. I tried...
Hi,
I am using cakephp. I am trying to use httpsocket to get information.
<?php
App::import('Core', 'HttpSocket');
$HttpSocket = new HttpSocket();
$results =$HttpSocket->get('https://graph.facebook.com/XXXXXXXXXXX/', 'access_token=111978XXXXXXXXXXX|2.1lD7XrS1nXXXXXXXXXXX__.3600.1279976400-XXXXXXXXXXXXX|9vJZuRDvlzLhFfXXXXXXXXXX...
Hi,
I am using facebook graph. I am able to retrieve the access_token. Now I want to get info using
https://graph.facebook.com/XXXXXXXXX/?access_token=111978178853984|2.1lD7XrS1n7C3UgudmiSpQg__.3600.1279976400-10000XXXXXXXXX|9vJZuRDvlzLhFfGkqGkg92KmDSE.
I already multiple ways to retrieve json output.
1) jquery.getJSON method - Fal...
When trying to convert a JPA object that has a bi-directional association into JSON, I keep getting
org.codehaus.jackson.map.JsonMappingException: Infinite recursion (StackOverflowError)
All I found is this thread which basically concludes with recommending to avoid bi-directional associations. Does anyone have an idea for a workaro...