REQUIRED CONNECTED LIBRARIES: Jackson Core, Bind and Annotation 2.6.1 1) The program does not fulfill the main requirement for serialization into JSON. Find the bug and fix it. 2) Correctly arrange the JSON annotations on the classes. All the data must be serialized.
My first serialization into JSON
You must be signed in to leave a comment
28 September 2022, 15:36
Embarrassed by how much this had me stuck at first. Lesson learned: while there are many scenarios in Java where you can be lazy with your access modifiers, you must be explicit about declaring the variables public when serializing into JSON!