When I serialize a list of objects with a custom __get__
method, __get__
is not called and the raw (unprocessed by custom __get__
) value from __set__
is used. How does Python's json
module iterate over an item?
Note: if I iterate over the list before serializing, the correct value returned by __get__
is used.