Re:JavaScript is Good, Actually
by Vinnl on Wednesday May 16, 2018 @04:06AM
(#17080749)
An advantage, however, is that you can directly encode Javascript data objects to JSON without having to annotate its fields or anything. I don't recall you being able to do that with Java.
[ Parent
| on HN ]
Re:JavaScript is Good, Actually
by imtringued on Wednesday May 16, 2018 @10:55AM
(#17082882)
You can't do that with javascript either unless your data objects are acyclic and if they are then using a JSON parser for Java is equally trivial.