Export Complex Class to JSON with Jackson or Gson.

Job ID: 30639810

Budget: $10 – $30 USD

I have a class with several normal attributes, also a map<String, AnotherClass> and one particular vector string, which I'd like to serialize as individual strings if possible.
I'm getting a lot of errors with what I'm trying, help would be appreciated.

My previous attempts have not allowed me to correctly serialize the map, so all of the attributes inside AnotherClass are not displayed in the Json as a child object