Monday, September 27, 2010

[android-developers] Re: Passing arguments to JSON c# .net web service

JSON is, at the first approximation, an alternative to XML. Like XML,
the general form is standardized (it looks vaguely like Java or
JavaScript) but you need to know the specific "tags" used to
interchange data for a specific purpose.

A JSON string might look like this:

{
"filter": {
"appName":"My App",
"appVersion":"2.0",
"measures":[ {"measureType": 1}, {"measureType":-2.3e+5}]
}
}

Like XML, blanks, tabs, and carriage returns are generally ignored.

On Sep 27, 8:11 am, titleist <tadej.ore...@gmail.com> wrote:
> Hello,
> i searched the net to find something about how to pass arguments to
> JSON c# .net web service, but i didn't find anything useful for me. I
> have to pass arguments like GUID or at least Username and Password.
> Is
> params.put("var", ""); the right thing? How do i pass multiple
> parameters like this, let's say username and password?
>
> Regards,
> Tadej

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate