From Documentation

Jump to: navigation, search






Property:

org.zkoss.bind.jsonBindingParamConverter.class
Applicable:
Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
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 for ZK Bind 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.bind.jsonBindingParamConverter.class</name>
	<value>org.zkoss.zkmax.bind.GsonConverter</value>
</library-property>



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