|
|
|
|
|
by enraged_camel
2150 days ago
|
|
>>In projects I've been involved with, storing JSON in the database has often turned out to be a mistake. I mostly agree. The only JSON I store in the database is UI settings, because it's easy enough to parse it with JavaScript (and fall back in default if the JSON doesn't contain that prop). It also decouples your database schema from the UI, the latter of which can evolve much more rapidly. For everything else, having a schema is better. |
|