Wednesday, September 12, 2012

Re: [android-developers] json format

What date format is that? Standard date formats that I know use dashes, forward slashes 
or no punctuation, not backslashes.

But I don't know all date formats, so which one uses backslashes?

-- 
Lew

rauf qureshi wrote:
Thanks friends to comment.
 
 i [sic] have solved this problem just pass your string with 25\\10\\2012

John Coryat wrote:
or... switch to '-' instead...

-John Coryat

Harri Smått wrote:

rauf qureshi <quresh...@gmail.com> wrote:
> in above code when i send this request to server date automatic converted into following format 25/\10/\2012
> can any body tell me how to send date on the server using json in 25/10/2012 format.
>

It's the other way around. "/" is presented escaped "\/" with backslash and there's no way around this. But instead on server side you should remove escape character by your JSON parser. 
 

--
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