Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
michaelmior
on Oct 30, 2019
|
parent
|
context
|
favorite
| on:
When XML Beats JSON: UI Layouts
The XML example seemed odd to me as written. In the JSON case, yes there was a prefixed key "$reports", but it told me what the relationship was. Looking at the XML, what does it mean for an Employee to be nested inside another Employee?
jimktrains2
on Oct 30, 2019
[–]
Sounds like the list of employees should have been nested in a <reports> and not left directly inside the employee.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: