bvko
bvko
CC#
Created by bvko on 12/18/2024 in #help
Custom JsonConverter to apply to interface or abstract class, anyone ?
Hmm is there any way for jonSerializer when deserilize to call it whitout <T> and for it to know to use custom deserilizer
14 replies
CC#
Created by bvko on 12/18/2024 in #help
Custom JsonConverter to apply to interface or abstract class, anyone ?
Or does anyone know how to for for specific class to turn typehanding.object so i can serilize/deserlize classes that implement some abstract class
14 replies
CC#
Created by bvko on 12/18/2024 in #help
Custom JsonConverter to apply to interface or abstract class, anyone ?
this is not using using Newtonsoft.Json; ? does this work with using Newtonsoft.Json;?
14 replies
CC#
Created by bvko on 12/18/2024 in #help
Custom JsonConverter to apply to interface or abstract class, anyone ?
atm my soution with propertis gives me loop expection
14 replies
CC#
Created by bvko on 12/18/2024 in #help
Custom JsonConverter to apply to interface or abstract class, anyone ?
will try ty you are god if this works 🙂
14 replies
CC#
Created by bvko on 12/18/2024 in #help
Custom JsonConverter to apply to interface or abstract class, anyone ?
@glhays any magic solution incoming?
14 replies
CC#
Created by bvko on 12/18/2024 in #help
Custom JsonConverter to apply to interface or abstract class, anyone ?
and when i de-serialize i want to get TestClass2 🙂 cuz i ISerilizableStateConverter JsonRead should use its ResolveToType for that
14 replies
CC#
Created by bvko on 12/18/2024 in #help
Custom JsonConverter to apply to interface or abstract class, anyone ?
sure, in case of TestClass2 my logic would be { "ResolveToType ":"TestClass2" "RandomString": "sss" }
14 replies