Hacker News new | ask | show | jobs
by alihilal94 2231 days ago
Thanks for your question.

Both are correct, but if you think about it we have a Bookstore with multiple books so putting them in an array of objects makes more sense.. we don't need the root element name. xmltodict just puts extra unnecessary complexity