I have a BookInfo class written in C#. A BookInfo class contains an array of ChapterInfo objects, a ChapterInfo class contains an array of PageInfo objects, etc. I have a program in C# to convert this BookInfo class to a JSON file, and then read it back in and then pull the JSON file back into the BookInfo class. This works nicely.
Here is the project:
1. Create Swift classes that are similar to the C# classes, all of which fit in the class BookInfo. I can supply the basics here.
2. Write a routine to read the JSON file into BookInfo.
There are about 5 C# classes, each with a maximum of four variables, mostly Strings and Arrays of objects. There are no methods in the classes.
If you know what you're doing, this is probably a very simple task. I can help with the testing. I've tried it with SwiftyJSON -- you can use that or any other library that you feel works.