Skip to main content

Bug Tracker

Side navigation

#14212 closed bug (notabug)

Opened August 02, 2013 03:19PM UTC

Closed August 06, 2013 02:31AM UTC

$.parseJSON() invalid conversion

Reported by: ramon.bozelli@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

When I execute the command

$.parseJSON('{"key" : "value"}')

It's correct, but let's suppose that my value is the character --> " <--

So I tried

$.parseJSON('{"key" : "\\""}')

and I got an invalid Json.

But this is a valid format :(

Attachments (0)
Change History (1)

Changed August 06, 2013 02:31AM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

This is not a jQuery bug. Double up the backslashes. Ask for help on a forum.