Using LazyAsync with JSONSeralizer?
rklec opened this issue · 1 comments
rklec commented
Can one use LazyAsync
with Newtonsoft's JSON Serializer?
I tried and get only the internal objects as results, which are serialized, instead of the expected type, actually.
StephenCleary commented
AsyncLazy
has no special behavior for serialization. You should be able to write a custom serializer if you need to. It'll be up to your code whether it should cause the initialization to execute or not.