Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


oracle.adfmf.framework.api
Interface JSONSerializable

All Known Implementing Classes:
AdfException, AdfInvocationRuntimeException, 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
 java.lang.Object toJSON()
          Method to add custom code to serialize the Object to JSON

 

Method Detail

toJSON

java.lang.Object toJSON()
                        throws java.lang.Exception
Method to add custom code to serialize the Object to JSON
Returns:
Object
Throws:
java.lang.Exception

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.3.0)

E27204-01


Copyright © 2012 Oracle. All Rights Reserved.