Skip to content

Commit

Permalink
Merge pull request #43 from teamStein2nd/stein2nd-issue-40
Browse files Browse the repository at this point in the history
fixes #40 The entire phrase was changed.
  • Loading branch information
frantorres authored Jan 3, 2025
2 parents 41dc3be + 2570f35 commit 1d768c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/ajax/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ XML is the old data exchange format for AJAX. It is after all the ‘X' in AJAX.

#### JSON

JSON is often favored for its light weight and ease of use. You can actually parse JSON using `eval()`, but don't do that! The use of `eval()` carries significant security risks. Instead, use a dedicated parser, which is also faster. Use the global instance of the parser object `JSON`. To ensure that it is available, be sure it is enqueued with other scripts on the page. More information about enqueuing is included later in the [PHP section](https://developer.wordpress.org/plugins/javascript/ajax/#json "Page section").
JSON is often favored for its light weight and ease of use. You can actually parse JSON using `eval()`, but don't do that! The use of `eval()` carries significant security risks. Instead, use a dedicated parser, which is also faster. Use the global instance of the parser object `JSON`. There are [specific functions to provide an easy way to give a response in JSON format](https://developer.wordpress.org/plugins/javascript/enqueuing/#json) to your AJAX call.

#### Other

Expand Down

0 comments on commit 1d768c4

Please sign in to comment.