Feature/ddf-699

New features UI edit/display for each Application in DDF
Yep there are several libraries out there that already can serialize a POJO
to json like jackson or gson.


On Mon, Aug 18, 2014 at 2:18 PM, Mark Lucas <notifications@github.com>
wrote:

> In
> core/admin-core-appservice/src/main/java/org/codice/ddf/admin/application/rest/model/FeatureDto.java:
>
> > + * Lesser General Public License for more details. A copy of the GNU Lesser General Public License
> > + * is distributed along with this program and can be found at
> > + * <http://www.gnu.org/licenses/lgpl.html>.
> > + *
> > + **/
> > +package org.codice.ddf.admin.application.rest.model;
> > +
> > +import org.apache.karaf.features.Feature;
> > +
> > +/**
> > + *
> > + * Feature DTO to support DDF Web Console with additional repository and status information.
> > + * Wrapper class for Karaf Feature object.
> > + *
> > + */
> > +public class FeatureDto {
>
> Jeren had an abstract toJSON() method on his DTO. Would want to do this
> here? Is there a library we can use to auto serialize a class to JSON? I
> know this would be really nice in other classes within the ddf-admin dtos.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/McLucas/ddf-admin/pull/2/files#r16382641>.
>