title: Convert SQLite3 Database to JSON iOS
body: <p>I have scoured Google for a tutorial to help with this but haven't been able to find anything comprehensive.</p>
  
  <p>I want to one-way sync an SQLite3 database with a web service by sending the data contained in the database in JSON format but am having trouble finding information about how to convert the database into JSON. If anyone can either point me in the direction of a tutorial covering this or alternatively show a brief example of how to go about converting a simple SQLite table, that would be great!</p>
  
  <p>The database contains about ten tables with the potential to contain a lot of data so aside from a simple example, some general guidance would be appreciated.</p>
  
  <p>Thanks!</p>