Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

oracle.adfmf.framework.api
Interface JSONSerializable

All Known Implementing Classes:
AdfException, AdfInvocationRuntimeException, AmxAccessorIteratorBinding, oracle.adfmf.bindings.dbf.AmxControlBinding, oracle.adfmf.bindings.dbf.AmxExecutableBinding, oracle.adfmf.bindings.dbf.AmxIteratorBinding, ConcreteJavaBeanObject, oracle.adfmf.dc.bean.ConcreteJavaBeanObjectBase, Contact

public interface JSONSerializable

If the application developer wants to override the functionality of JSONBeanSerializationHelper.toJSON(), he can implement JSONSerializable interface and can add his custom serialization code in JSONSerializable.toJSON(). Note: He bears the complete responsibility for detecting and avoiding cyclic objects as well.


Method Summary
 Object toJSON()
          Method to add custom code to serialize the Object to JSON
 

Method Detail

toJSON

Object toJSON()
              throws Exception
Method to add custom code to serialize the Object to JSON

Returns:
Object
Throws:
Exception

Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework
2.0.0.0.0

E36392-01

Copyright © 2014 Oracle. All Rights Reserved.