简体   繁体   中英

From SQLite to JSON Array

So I have an SQLite table that is internally stored with an id, latitude, longitude, and time. I would like to send that table to my external SQL Server through a webservice. Populating a JSON Array with my SQLite data and passing that array to a webservice which then does some processing and stores it in the SQL Server seems like the best way to achieve this. I am confused as to the best way of populating the JSON array from my SQLite table. Could anyone provide some example code or maybe link to a tutorial?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM