Hi! I'm using Dexie to back a database of songs. Supporting autoplaylists requires users to be able to specify arbitrary queries. This all works well.
Now, I need to serialize these queries somehow, since the definition of an autoplaylist needs to be remembered. There doesn't seem to be a built in way to do this -- I was hoping WhereClause could to serialize to json.
If that's correct, does anyone have suggestions? Serialization of most query languages is baked in, so I wanted to ask before recreating a wheel.
ps, I'm willing to use eval if it makes life significantly easier, but I'd prefer to avoid it.