aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-02-24 23:47:19 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2016-03-02 13:12:35 +0100
commit93a8fa6bfc1c8a469e188630b61e736dfb69e128 (patch)
tree47494be97e64818ae3f627c97530240f8f0d10a7 /src/ajax.js
parent8a91f8442f4d31bdd4b43035ee88d40fbb116f64 (diff)
downloadjquery-93a8fa6bfc1c8a469e188630b61e736dfb69e128.tar.gz
jquery-93a8fa6bfc1c8a469e188630b61e736dfb69e128.zip
Core: Deprecate jQuery.parseJSON
Fixes gh-2800 Closes gh-2948
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 35b29bab4..a71428580 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -7,7 +7,6 @@ define( [
"./ajax/var/rquery",
"./core/init",
- "./ajax/parseJSON",
"./ajax/parseXML",
"./event/trigger",
"./deferred",
@@ -348,7 +347,7 @@ jQuery.extend( {
"text html": true,
// Evaluate text as a json expression
- "text json": jQuery.parseJSON,
+ "text json": JSON.parse,
// Parse text as xml
"text xml": jQuery.parseXML