top | item 32186157

(no title)

shroompasta | 3 years ago

How does this validate data with a variable amount of keys with the same value type for example a to-do list

my day to day to do list varies in the number of tasks, but the completion will always be in boolean

    [
        {
         "task": "do Foo", 
         "completed": False, 
        }, 
        {
         "task": "do Bar", 
         "completed": False, 
        }, 
        {
         "task": "do Baz", 
         "completed": False, 
        }, 
        ...
    ]
Also, what is the issue of schema validation before inserting into the json column, as this is what I'm doing with a small microservice with Redis.

discuss

order

No comments yet.