Annotation and JSONHelper for converting JSON to Object

JSONHelper

  • stringify(Object obj): Convert Object to JSON
  • parse(String json, Class<?> soureClass) : Convert JSON to Object

Annotations

@JsonSerializable : Class level

@JsonProperty : Field level

  • name: Custom a name for the following field

Download library AnnotationJSONHelperExample_jar.jar here