Posted By

Piotrek290 on 09/16/09


Tagged

database javascript json


Versions (?)

JS Databases


 / Published in: JavaScript
 

  1. var database = {
  2. 'users' : [
  3. { 'id':0, 'name':'dealis0', 'pass':'1a1dc91c907325c69271ddf0c944bc72', 'group' : 0 },
  4. { 'id':1, 'name':'dealis1', 'pass':'1a1dc91c907325c69271ddf0c944bc72', 'group' : 0 },
  5. { 'id':2, 'name':'dealis2', 'pass':'1a1dc91c907325c69271ddf0c944bc72', 'group' : 1 }
  6. ],
  7.  
  8. 'groups' : [
  9. { 'id':0, 'name':'Group0' },
  10. { 'id':1, 'name':'Group1' },
  11. { 'id':2, 'name':'Group2' }
  12. ]
  13. };

Report this snippet  

You need to login to post a comment.