Bug Tracker

Opened 10 years ago

Closed 10 years ago

#14212 closed bug (notabug)

$.parseJSON() invalid conversion

Reported by: [email protected] 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 :(

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: notabug
Status: newclosed

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

Note: See TracTickets for help on using tickets.