Ignore:
Timestamp:
Jun 9, 2009, 5:37:01 PM (16 years ago)
Author:
[email protected]
Message:

Bug 26249: Support JSON.stringify
<https://bugs.webkit.org/show_bug.cgi?id=26249>

Reviewed by Sam Weinig.

Implement JSON.stringify. This patch handles all the semantics of the ES5
JSON.stringify function, including replacer functions and arrays and both
string and numeric gap arguments.

Currently uses a clamped recursive algorithm basically identical to the spec
description but with a few minor tweaks for performance and corrected semantics
discussed in the es-discuss mailing list.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj

    r44522 r44550  
    794794                        <File
    795795                                RelativePath="..\..\runtime\JSNumberCell.h"
     796                                >
     797                        <File
     798                                RelativePath="..\..\runtime\JSONObject.cpp"
     799                                >
     800                        </File>
     801                        <File
     802                                RelativePath="..\..\runtime\JSONObject.h"
    796803                                >
    797804                        </File>
Note: See TracChangeset for help on using the changeset viewer.