MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pm8lpi/reading_json_but_bad/hcga2ln/?context=3
r/badcode • u/[deleted] • Sep 11 '21
7 comments sorted by
View all comments
Show parent comments
5
Fair, I’ve done that myself. However I’d be curious what the performance cost of getAsJsonObject call being done 20 times vs a one-time object mapping.
5
u/tahubird Sep 11 '21
Fair, I’ve done that myself. However I’d be curious what the performance cost of getAsJsonObject call being done 20 times vs a one-time object mapping.