2 ms·
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 bei
by Vinnl 9y ago
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.
- imtringued 9y agoYou 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.
- Vinnl 9y agoYou mean that if they are acyclic, you don't have to annotate the fields in Java either? Because the data objects I want to serialize usually are acyclic.