Class JSONPojoConvertorFactory

    • Constructor Detail

      • JSONPojoConvertorFactory

        public JSONPojoConvertorFactory​(JSON json)
      • JSONPojoConvertorFactory

        public JSONPojoConvertorFactory​(JSON json,
                                        boolean fromJSON)
        json - The JSON instance to use
        fromJSON - If true, the class name of the objects is included in the generated JSON and is used to instantiate the object when JSON is parsed (otherwise a Map is used).
    • Method Detail

      • fromJSON

        public java.lang.Object fromJSON​(java.util.Map<java.lang.String,​java.lang.Object> map)
        Specified by:
        fromJSON in interface JSON.Convertor