r/ProgrammerHumor • • 12d ago • Bravo 1

Meme commentsInJson

Post image
6.0k Upvotes

202 comments sorted by

View all comments

Show parent comment

1

u/AnnoyedVelociraptor 11d ago

In Rust if you map a JSON object to a struct, and you don't have a field mapped for comments it gets dropped.