Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
easrng
on Sept 10, 2021
|
parent
|
context
|
favorite
| on:
JSON Schema bundling formalised
It's easy in JS too, just use a DOMParser
no_wizard
on Sept 10, 2021
[–]
That is not a JavaScript API, that’s a DOM only API, meaning it’s not reproduced in the language spec. This is important because it won’t work in Node, for example, without a 3rd party library or someone implementing it in Node core.
JSON however is supported in the language spec
oaiey
on Sept 10, 2021
|
parent
[–]
And DOM API is an example of bad API design. Compare that to a modern XML API (like .NET System.Xml.XDocument) and you never want to see Dom again
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: