org.zkoss.zk.ui.jsonServiceParamConverter.class

From Documentation
Revision as of 08:24, 16 July 2015 by Jumperchen (talk | contribs) (Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.zk.ui.jsonServiceParamConverter.class Default: <i>org.zkoss.zkmax.ui.JacksonConverter</i> (it implies <javado...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.zk.ui.jsonServiceParamConverter.class
org.zkoss.zk.ui.jsonServiceParamConverter.class


Property:

org.zkoss.zk.ui.jsonServiceParamConverter.class
Default: org.zkoss.zkmax.ui.JacksonConverter (it implies JacksonConverter)
[since 8.0.0] [EE version only]

It specifies the name of the class used to provide the default JSON converter for service command. The class must implement the Converter interface.

You can implement your own JSON converter for non-EE version or use the built-in converter in EE version. In EE version, you can switch the implementation of the json converter in zk.xml

<library-property>
	<name>org.zkoss.zk.ui.jsonServiceParamConverter.class</name>
	<value>org.zkoss.zkmax.ui.GsonConverter</value>
</library-property>


Last Update : 2015/07/16

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.