Class FormJsonService
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.service.json.AbstractFormJsonService
-
- fr.paris.lutece.plugins.forms.service.json.FormJsonService
-
public class FormJsonService extends AbstractFormJsonService
Json service to handle import/export
-
-
Field Summary
Fields Modifier and Type Field Description static FormJsonServiceINSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FormJsonServicegetInstance()StringjsonExportForm(int idForm)Export the form as a Json Object.voidjsonImportForm(String json, Locale locale)Import the form from a Json Object.-
Methods inherited from class fr.paris.lutece.plugins.forms.service.json.AbstractFormJsonService
jsonExportStep, jsonExportStepAsData, jsonImportStep, jsonImportStep
-
-
-
-
Field Detail
-
INSTANCE
public static final FormJsonService INSTANCE
-
-
Method Detail
-
getInstance
public static FormJsonService getInstance()
-
jsonExportForm
public String jsonExportForm(int idForm) throws com.fasterxml.jackson.core.JsonProcessingException
Export the form as a Json Object.- Returns:
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-