Json Object to Sqlite Database in ios

1k Views Asked by At

I want to push the fetched data of json file to database. Can anyone suggests some solution?

1

There are 1 best solutions below

0
user1421596 On

1) First of all you might guess what really you do want to do with that data, because:

  • you could use things like FMDB https://github.com/ccgus/fmdb.git and store that JSON as string and get it reparsed every time you need it;
  • also you can use Mogenerator tool https://github.com/rentzsch/mogenerator.git and smth like MagicalRecord library [https://github.com/magicalpanda/MagicalRecord.git] to easily fetch data in n out;
  • and finally, there's CoreData if you like Apple's choise.