freifunk / vis.api.freifunk.net

Visualisation of Freifunk API data
GNU General Public License v3.0
3 stars 2 forks source link

Data-loading: Parse JSON with the JSON Schema file #21

Closed extua closed 3 months ago

extua commented 3 months ago

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

extua commented 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.

extua commented 3 months ago

Close this for now, can always come back to it in future.