Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.42 KB | None | 0 0
  1. {
  2. "_id": 123asd1241231231231, // can use this for conversation_id as well since its unique
  3. "uids": [1, 2, 3], // i think this is a valid list right?
  4. "messages": [{
  5.     "_id": 123asd123123123, // is this possible?
  6.     "uid": 1,
  7.     "timestamp": 123123123, // errr, maybe this is redundant, doesn't the _id have the timestamp built in?  Can it easily be extracted?
  8.     "message": "this is a test message"
  9.   },
  10.   ...
  11.   ]
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement