Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 7950

JSON (JavaScript Object Notation) aka the Fat Free Alternative to XML is a lightweight data exchange format inspired by JavaScript object literals. It is often used with JavaScript, Ajax, and RESTful web services but is completely language independent.

2 votes
2 answers
307 views

Minimal CORS mail PHP

Should I be returning JSON like status OK or not OK if mail() fails? What is best practice? …
Kai Hendry's user avatar
3 votes
2 answers
173 views

Better paradigms for posting JSON from a table?

var row = $(this).parent().parent(); row.css("background-color", "red"); var id = row.children(':nth-child(1)').text(); var note = row.find('textarea').val(); var data = { json … : JSON.stringify({ id: id, note: note }) }; $.ajax({ url: "/echo/json/", type: "POST", data: data, contentType: "application/json
Kai Hendry's user avatar
0 votes
2 answers
444 views

Submitting a form via JSON

; charset=UTF-8'); // send the collected data as JSON xhr.send(JSON.stringify(data)); feedbackform.send.disabled = true; xhr.onloadend = function () { if (xhr.status == 200) { … E.g. json enctype? Is disabling the submit button a good idea to prevent multiple form submissions? …
Kai Hendry's user avatar