Rafael Scott
06/21/2024, 3:42 PMGSON
on Stack Overflow and received this response:
GSON is outdated and in maintenance mode for couple of years already. Main issue with it is that it's entirely reflection based so performance is poor and it sometimes causes weird behaviour like forcefully spawning classes without invoking their constructors. Other one is it has completely no support for Kotlin so it does not recognize or respect metadata like nullability and default values which is really problematic. E.g. with data classes (which are ideal for mapping values to) you can end up with non-nullable property that holds a null value and crashes your program when accessed.Is this true? Apologies if this is the wrong Slack channel to ask this question... Here's my post (along with the comment): https://stackoverflow.com/questions/78639145/json-syntax-exception-when-parsing-string-containing-json-array-using-typetoken?noredirect=1#com[…]9145
ross_a
06/21/2024, 3:45 PMross_a
06/21/2024, 3:45 PMglureau
06/21/2024, 4:25 PMrocketraman
06/21/2024, 5:27 PMephemient
06/21/2024, 5:29 PM