org.zkoss.bind.jsonBindingParamConverter.class

From Documentation
Revision as of 04:06, 19 May 2015 by Jumperchen (talk | contribs) (Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.bind.jsonBindingParamConverter.class Default: <i>org.zkoss.zkmax.bind.JacksonConverter</i> (it implies <javad...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


DocumentationZK Configuration Referencezk.xmlThe Library Propertiesorg.zkoss.bind.jsonBindingParamConverter.class
org.zkoss.bind.jsonBindingParamConverter.class


Property:

org.zkoss.bind.jsonBindingParamConverter.class
Default: org.zkoss.zkmax.bind.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 . 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.bind.jsonBindingParamConverter.class</name>
	<value>org.zkoss.zkmax.bind.GsonConverter</value>
</library-property>


Last Update : 2015/05/19

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