←back to thread

392 points _kush | 1 comments | | HN request time: 0.26s | source
Show context
murukesh_s ◴[] No.44394189[source]
Sometimes I wish we could have kept XML alive alongside JSON.. I miss the comments, CDATA etc, especially when you have to serialize complex state. I know there are alternatives to JSON like YAML but I felt XML was better than YAML. We adopted JSON for its simplicity but tried to retrofit schema and other things that made XML complex. Like we kind of reinvented JSON Schema, and ended up like what XSD did decades ago and still lacking a good alternative to XSLT..
replies(3): >>44394230 #>>44394613 #>>44394730 #
1. n_plus_1_acc ◴[] No.44394230[source]
I agree wholeheartedly, but the XML library in them JS ecosystem is shit.