A
A
Alexey2021-08-16 18:45:09
JSON
Alexey, 2021-08-16 18:45:09

How to properly serialize nested classes?

I need your help, do not judge strictly I'm just studying this topic.
I can't figure out how to serialize nested classes, I'm attaching screenshots.
If you can show with an example, I will be very grateful, classes are automatically created on the screenshots from the finished json.
Ignore the fact that I'm saving this to a file, I just want to test it and see what happens.

611a86b549a00142110622.jpeg
611a86a950814112512622.jpeg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question