 <p><code>{username:kavi}</code> is not JSON. Strings must be quoted with <code>"</code> characters. <a href="http://jsonlint.com/" rel="nofollow">Test</a> your JSON (better yet: don't handcraft it in the first place).</p>