It would be nice to have a way to deserialize notion objects like QueryDatabaseRequest to be deserialized from a json string.
{
"filter": {
"property": "Date",
"date": {"on_or_after": "2020-01-01"},
}
}
Expecting API to be rougly below where string will be above json.
request = QueryDatabaseRequest::from_json(string:&str)?;
Let me know if you're interested will give a PR ?