JSON representation for MontyStore
cannot be decoded with monty.json.MontyDecoder
#826
Labels
MontyStore
cannot be decoded with monty.json.MontyDecoder
#826
Overview
Given a
Store.to_json()
representation, one would ideally be able to useMontyDecoder
to regenerate theStore
object. This works forMemoryStore
,MongoStore
, etc. but does not work forMontyStore
for reasons I have not yet understood.Sidenote: very confusing here that
MontyStore
refers to MontyDB butMontyDecoder
is themonty
package 😅Example
Alternatives
I also tried
MontyDecoder().process_decoded(store.as_dict())
, but that led to the same error.The text was updated successfully, but these errors were encountered: