Closed rklec closed 1 year ago
Can one use LazyAsync with Newtonsoft's JSON Serializer?
LazyAsync
I tried and get only the internal objects as results, which are serialized, instead of the expected type, actually.
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.
AsyncLazy
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.