I have a running project using WebAPI and EF code-first.
The database is currently working properly with many tables and relationships set up. However, all my data types are handled as JSON on the client and I don't need to set up extra table for each new nested object in a JSON on the database.
So just as general info, is it bad practice to implement the following example?
object foo
id(primary key)value (nvarchar(max))<- I will store the JSON as string in that column.
assuming foo has many nested objects as such { 'obj1': '1', 'obj2': [ '123', '456' ] } etc...
Would that be a good idea? Instead of having obj1 as a different table and making the relationship back to foo.
Thanks