All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sections.converters.jsonConverterRC.xhtml Maven / Gradle / Ivy

There is a newer version: 1.1.0.6-jre15
Show newest version


    
        
            
        
        
            The following example shows how JsonConverter can be applied to RemoteCommand.
            This can be achieved with pe:assignableParam and attached pe:convertJson.
            JsonConverter only has one optional attribute "type". It specifies data type of the value object.
            Any primitive type, array, non generic or generic type is supported.
            Data type is sometimes required to convert a value to a JSON representation. All data types should be
            fully qualified. Examples:
            
  • "boolean"
  • "int"
  • "long[]"
  • "java.lang.String"
  • "java.util.Date"
  • "java.util.Collection<java.lang.Integer>"
  • "java.util.Map<java.lang.String, com.prime.FooPair<java.lang.Integer, java.util.Date>>"
  • "com.prime.FooNonGenericClass"
  • "com.prime.FooGenericClass<java.lang.String, java.lang.Integer>"
  • "com.prime.FooGenericClass<int[], com.prime.FooGenericClass<com.prime.FooNonGenericClass, java.lang.Boolean>>"




© 2015 - 2024 Weber Informatics LLC | Privacy Policy