HomeSort by relevance Sort by last modified time
    Searched defs:toJSON (Results 1 - 4 of 4) sorted by null

  /external/webkit/SunSpider/hosted/
json2.js 38 When an object value is found, if the object contains a toJSON
39 method, its toJSON method will be called and the result will be
40 stringified. A toJSON method does not serialize: it returns the
42 or undefined if nothing should be serialized. The toJSON method
48 Date.prototype.toJSON = function (key) {
155 test, toJSON, toString, valueOf
173 if (typeof Date.prototype.toJSON !== 'function') {
175 Date.prototype.toJSON = function (key) {
186 String.prototype.toJSON =
187 Number.prototype.toJSON
    [all...]
  /external/webkit/LayoutTests/fast/js/resources/
json2-es5-compat.js 30 When an object value is found, if the object contains a toJSON
31 method, its toJSON method will be called and the result will be
32 stringified. A toJSON method does not serialize: it returns the
34 or undefined if nothing should be serialized. The toJSON method
40 Date.prototype.toJSON = function (key) {
155 test, toJSON, toString, valueOf
171 if (typeof Date.prototype.toJSON !== 'function') {
173 Date.prototype.toJSON = function (key) {
230 // If the value has a toJSON method, call it to obtain a replacement value.
233 typeof value.toJSON === 'function')
    [all...]
  /development/samples/SampleSyncAdapter/samplesyncadapter_server/
main.py 94 self.response.out.write(toJSON(self.friend_list))
123 self.response.out.write(toJSON(self.status_list))
127 def toJSON(self):
132 def toJSON(object):
  /external/webkit/JavaScriptCore/runtime/
JSONObject.cpp 95 JSValue toJSON(JSValue, const PropertyNameForFunctionCall&);
332 inline JSValue Stringifier::toJSON(JSValue value, const PropertyNameForFunctionCall& propertyName)
335 if (!value.isObject() || !asObject(value)->hasProperty(m_exec, m_exec->globalData().propertyNames->toJSON))
338 JSValue toJSONFunction = asObject(value)->get(m_exec, m_exec->globalData().propertyNames->toJSON);
358 // Call the toJSON function.
359 value = toJSON(value, propertyName);

Completed in 70 milliseconds