Any sense in having a quick error check higher up the stack so that a user like me gets an error message from Stan rather than a depedency, saying what the problem is? Once could catch the error in line 450 of model.py and point people to a FAQ, or mention the list of allowed types in data passed in the data dict, …
I would have been comforted to hear from Stan rather than json, though I see now the comment in the error trace I got in exactly the right place:
# `data` must be JSON-serializable in order to send to httpstan
I have not reason to think that kind of weirdness is consistent with whatever philospohy and style you have all set up. Just throwing out the idea.
Thanks, all