title: Datanucleus JSON
body: <p>Looking at the <code>Datanuclues JSON</code> code listings, it seems that it supports <code>Amazon S3</code> and <code>Google Storage</code>, however I believe it is not limited just to these two "JSON" storage, so my question is what qualified to be a JSON storage in respect to the <code>Datanuclues JSON</code> library?</p>
  
  <p>I mean, is there any specification for custom "JSON storage" to follow? </p>
  
  <p>Also from the the documentation there is these fields that needs to be set:</p>
  
  <pre><code>datanucleus.ConnectionURL=json:http://www.mydomain.com/somepath/
  datanucleus.ConnectionUserName=
  datanucleus.ConnectionPassword=
  </code></pre>
  
  <p>For the benefit of a custom JSON storage, </p>
  
  <ul>
  <li>How does Datanucleus pass the <code>ConnectionUserName</code> and the
  <code>ConnectionPassword</code> to the store?</li>
  <li>The Http response 200, 201, 202, 204, 404 are the only accepted response? </li>
  <li>Putting any kind of JSON record in the <code>/{primary key}</code> is allowed? Or what kind of entity is available for persisting?</li>
  <li>Is the 'primary key' here unique for every JSON document being stored in the relative path like <code>/Person/{primary key}</code>, primary key is unique? </li>
  </ul>
  
  <p>Also, I'm not quite understanding clearly the JDO config:</p>
  
  <p>
      
          
              
          
      
  </p>
  
  <ul>
  <li>Is the <code>key="url"</code> the <code>/{primary key(url?)}</code>? or its something else like: <code>http://myapp.com/someurl/Person/{primary key}</code>?</li>
  </ul>