fr.paris.lutece.plugins.pluginwizard.service
Class MapperService

java.lang.Object
  extended by fr.paris.lutece.plugins.pluginwizard.service.MapperService

public final class MapperService
extends Object

Mapper Service


Method Summary
static String getJson(PluginModel model)
          Transform the model into a JSON String
static PluginModel readJson(String strJson)
          Read a JSON String to fill a model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJson

public static String getJson(PluginModel model)
Transform the model into a JSON String

Parameters:
model - The model
Returns:
A JSON String

readJson

public static PluginModel readJson(String strJson)
Read a JSON String to fill a model

Parameters:
strJson - The JSON String
Returns:
The model


Copyright © 2013 Mairie de Paris. All Rights Reserved.