VForWaTer / metacatalog

Modular metadata management platform for environmental data.
https://vforwater.github.io/metacatalog
GNU General Public License v3.0
3 stars 1 forks source link

Add to_json method for exporting Entry metadata to JSON #306

Closed AlexDo1 closed 5 months ago

AlexDo1 commented 5 months ago

I decided to go for a new method Entry.to_json for serializable entry-to-json-export. I think that's easier than trying to fix the export extension. The created json should be serializable as I convert non-json datatypes to json datatypes with a custom JsonEncoder.

If we want to go for another way, we can revert this, but for now this should work.

mmaelicke commented 5 months ago

We decided not to take this update