title: json-framework: EXC_BAD_ACCESS on stringWithObject
body: <hr>
  
  <p>UPDATE:</p>
  
  <p>I found that the reason for the previous error was an error in the documentation.</p>
  
  <p>The method should be named proxyForJson, not jsonProxyObject...</p>
  
  <p>But I'm still stuck, though.</p>
  
  <p>I now get an EXC_BAD_ACCESS error inside stringWithObject some where. Any clues?</p>
  
  <hr>
  
  <p>UPDATE 2:</p>
  
  <p>My proxyForJson implementation is a cut-n-paste from then documentation:</p>
  
  <pre><code>- (id)proxyForJson {
      return [NSDictionary dictionaryWithObjectsAndKeys:
              Navn, @"Navn",
              Adresse, @"Adresse",
              Alder, @"Alder",
              nil];
  }
  </code></pre>
  
  <hr>
  
  <p>Trying to make json serialization work for my custom objective-c class.</p>
  
  <p>As I understand the documentation, json-framework can serialize custom objects, if they implement the <a href="http://json-framework.googlecode.com/svn/trunk/documentation/interfaceNSObject_07SBProxyForJson_08.html" rel="nofollow noreferrer">jsonProxyObject</a> method.</p>
  
  <p>So I have this class:</p>
  
  <pre><code>@interface MyObject : NSObject {
      NSString *Name;
      NSString *Addresse;
      NSInteger Age;
  }
  @property (nonatomic, retain) NSString *Name;
  @property (nonatomic, retain) NSString *Addresse;
  @property (nonatomic, assign) NSInteger Age;
  - (id)jsonProxyObject;
  @end
  </code></pre>
  
  <p>And I try to serialize an array with some instances in it:</p>
  
  <pre><code>[json stringWithObject:list error:&amp;error];
  </code></pre>
  
  <p>But all I get is he following error:</p>
  
  <p>"JSON serialisation not supported for MyObject"</p>
  
  <p>I guess the jsonWriter can't find my jsonProxyObject method for some reason, buy why?</p>
  
  <p>Regards.</p>