stapler/stapler — pull request #4 by ohtake (2011-11-04 02:02:54+00:00)
Title: Use Object.toJSON instead of Array.toJSON

Prototype.js 1.7 does not provide Array.toJSON.
It is better to use Object.toJSON for both of old prototype.js and new one.

See also https://github.com/jenkinsci/jenkins/pull/276#issuecomment-2626039