CODEFOSSIL · express
res.json
method in lib/response.js:236 · Born 2011-06-28 (DERIVED, confidence 1.00)
Changed Add "escape json" setting for res.json and res.jsonp
7154014· Greg GutheChanged Remove res.json(status, obj) signature
25fdefa· Mike TunnicliffeChanged Improve performance for res.json/res.jsonp in most cases
f90f9dd· Benjamin TanChanged Remove res.json(obj, status) signature
164638b· Douglas Christopher WilsonChanged Deprecate combined status, response signatures
fd3b405· Douglas Christopher WilsonChanged perf: fix arguments reassign deopt in some res methods
c6e6203· Douglas Christopher Wilson fix · INFERREDChanged deprecate things with depd module
9c731f1· Douglas Christopher WilsonChanged deprecate res.json(obj, status)
4e1e252· Douglas Christopher WilsonChanged remove res.charset usage
2064f41· Jonathan OngChanged Revert "remove charset from json responses. Closes #1631"
6cf6c8b· TJ Holowaychuk fix · INFERREDChanged remove charset from json responses. Closes #1631
138d74a· TJ HolowaychukChanged refactor vhost example
ab75fa0· TJ HolowaychukChanged refactor vhost example
bb29da5· TJ HolowaychukChanged refactor
88072a5· TJ HolowaychukChanged add support for `res.json()` to retain previously defined Content-Types. Closes #1349
0d3a637· TJ HolowaychukChanged add res.jsonp(). Closes #1307
a6caa26· TJ HolowaychukChanged fix jsonp callback char restrictions
89c5aff· TJ Holowaychuk fix · INFERREDChanged add "jsonp callback name" setting
5426eb0· riadhChanged docs
2e8d44b· TJ HolowaychukChanged Added `res.json(obj, status)` support back for BC
70d6841· TJ HolowaychukChanged Added: allow [] in jsonp callback. Closes #1128
df2584c· TJ HolowaychukChanged Fixed: use app.get() for all core settings
8f87400· TJ Holowaychuk fix · INFERREDChanged utilize `res.set()` internally
c44f018· TJ HolowaychukChanged Added "json replacer" and "json spaces" settings. Closes #996 [credit to jed]
ff92afa· TJ HolowaychukChanged Changed `res.{send,json}()` status code to the first arg at all times
c35cd7f· Tj HolowaychukChanged fixed some tests
d853f6c· Tj Holowaychuk fix · INFERREDChanged Revert "removed jsonp stripping"
60d16ea· Tj Holowaychuk fix · INFERREDChanged removed jsonp stripping
0ae18bc· Tj HolowaychukChanged Added `res.json()` JSONP support. Closes #737
73ea5cd· Tj HolowaychukBorn Added res.json() and tests
1386f80· Tj Holowaychuk