Closed extua closed 3 months ago
Might have to give up on this one, I spent a while trying to do something with the macro in typify but no success. However, most of the examples for inserting things into MongoDB assume you have a strongly typed struct ready to insert, and checking the schema is still important/useful.
Close this for now, can always come back to it in future.
Follow on from #20, parse the JSON file according to the JSON schema file here.
See if this works: https://docs.rs/serde-json-schema/latest/serde_json_schema/index.html