开发者

Store data in JSON instead of mySQL

I know JSON i开发者_运维知识库s more for data transit/interchange, but can I store a simple mySQL database in JSON on server-side? And how do you do it?

Thanks,

Jane

Edit: I didn't mean store a database in JSON, just put some values into it.


You might consider MongoDB, which is a database system with a core functionality of storing JSON documents.


You can't store a SQL database inside JSON - JSON is a data format. You could pull values from your SQL database and convert to JSON for interchange with client.


Also, check out: Storing JSON in an msSQL database?


You can store the JSON feed in the database. you should be able to persist the JSON feed in the database as a column type char/varchar2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜