So I need to write my own JSON serializer or is there something
already available?

If I do need to write my own, how can I contribute it back to the
community?

Thanks!

On Sep 16, 4:28 pm, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > When I use this function to create a JSON object:
>
> > var formObject = $(":input").serialize();
>
> > and I print it, I get "name=value&name=value..."  This isn't proper
> > JSON string and the .NET webservice I'm sending it to barfs.
>
> > How can I make it stay in the proper format, i.e.
>
> > "{'fname':'dave', 'lname':'ward'}"
>
> > Thanks!
>
> jQuery's serialize method does not create JSON strings.  It creates
> URL-encoded strings, as you discovered.

Reply via email to