issue with $.ParseJSON which converts json string to null
        Posted  
        
            by 
                Aby
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Aby
        
        
        
        Published on 2012-08-02T13:57:05Z
        Indexed on 
            2012/08/29
            15:38 UTC
        
        
        Read the original article
        Hit count: 312
        
I am using spring mvc in which i convert the arraylist into json string. I have one object 1) results.
My output from spring looks like this:
{
"data":"[{\"userName\":\"test1\",\"firstName\":\"test\",\"lastName\":\"user\"},        {\"userName\":\"test2\",\"firstName\":\"test1\",\"lastName\":\"user1\"}]",
}
I get output as null when i do '$.parseJSON' with this output. When i tried testing only with data object it works fine
Any help would be great.
© Stack Overflow or respective owner