<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -491,7 +491,7 @@ var CPColorPanelSwatchesCookie = &quot;CPColorPanelSwatchesCookie&quot;;
     var future = new Date();
     future.setYear(2019);
     
-    [_swatchCookie setValue: CPJSObjectCreateJSON(result) expires:future domain: nil];
+    [_swatchCookie setValue: JSON.stringify(result) expires:future domain: nil];
 }
 
 - (void)setColorPanel:(CPColorPanel)panel</diff>
      <filename>AppKit/CPColorPanel.j</filename>
    </modified>
    <modified>
      <diff>@@ -85,7 +85,7 @@ var CPValueValueKey = @&quot;CPValueValueKey&quot;;
     self = [super init];
     
     if (self)
-        _JSObject = CPJSObjectCreateWithJSON([aCoder decodeObjectForKey:CPValueValueKey]);
+        _JSObject = JSON.parse([aCoder decodeObjectForKey:CPValueValueKey]);
 
     return self;
 }
@@ -96,7 +96,7 @@ var CPValueValueKey = @&quot;CPValueValueKey&quot;;
 */
 - (void)encodeWithCoder:(CPCoder)aCoder
 {
-    [aCoder encodeObject:CPJSObjectCreateJSON(_JSObject) forKey:CPValueValueKey];
+    [aCoder encodeObject:JSON.stringify(_JSObject) forKey:CPValueValueKey];
 }
 
 @end</diff>
      <filename>Foundation/CPValue.j</filename>
    </modified>
    <modified>
      <diff>@@ -28,7 +28,7 @@ function readConfig(configFile)
     if (!fileData)
         throw new Error(&quot;Couldn't read file: &quot; + configFile);
         
-    var configs = CPJSObjectCreateWithJSON(fileData);
+    var configs = JSON.parse(fileData);
     
     return configs;
 }</diff>
      <filename>Tools/bake/main.j</filename>
    </modified>
    <modified>
      <diff>@@ -239,7 +239,7 @@ function main()
         
         // add fake bundle response bookkeeping
         applicationJS.push(&quot;var __fakeDidReceiveBundleResponse = &quot; + String(fakeDidReceiveBundleResponse));
-        applicationJS.push(&quot;var __fakeBundleArchives = &quot; + CPJSObjectCreateJSON(bundleArchives) + &quot;;&quot;);
+        applicationJS.push(&quot;var __fakeBundleArchives = &quot; + JSON.stringify(bundleArchives) + &quot;;&quot;);
         applicationJS.push(&quot;for (var i = 0; i &lt; __fakeBundleArchives.length; i++) __fakeDidReceiveBundleResponse(__fakeBundleArchives[i]);&quot;)
         
         // add each fragment, wrapped in a function, along with OBJJ_CURRENT_BUNDLE bookkeeping</diff>
      <filename>Tools/press/main.j</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7c305c45fceb8e87fa9277035cb84744154184e0</id>
    </parent>
  </parents>
  <author>
    <name>Tom Robinson</name>
    <email>tom@280north.com</email>
  </author>
  <url>http://github.com/280north/cappuccino/commit/b0470ca2d7e43766f60b52b154ae3df693b8dc72</url>
  <id>b0470ca2d7e43766f60b52b154ae3df693b8dc72</id>
  <committed-date>2009-06-02T15:07:07-07:00</committed-date>
  <authored-date>2009-06-02T15:07:07-07:00</authored-date>
  <message>Update to use JSON.{parse,stringify}</message>
  <tree>a6b85a60043e1b5a7f01fe8dc5433396b6708618</tree>
  <committer>
    <name>Tom Robinson</name>
    <email>tom@280north.com</email>
  </committer>
</commit>
