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 PostJSONSerializable

All Known Implementing Classes:
ContactAddresses, ContactField, ContactName, ContactOrganization

public interface PostJSONSerializable

If the application developer wants a hook to alter the JSON after the JSON serialization process, he can implement PostJSONSerializable interface and add his custom code in PostJSONSerializable.modifyJSON(). One example of this is: Normalizing of the JSON or something else. It is recommended that if the application developer wants to remove certain fields from the serialization processes they should really mark the field as transient instead of implementing this interface. Note: He bears the complete responsibility for detecting and avoiding cyclic objects for his code.


Method Summary
 oracle.adfmf.json.JSONObject modifyJSON(oracle.adfmf.json.JSONObject jsonObj)
          Method to add custom code to alter the Object after the serialization process in JSONBeanSerializationHelper.toJSON()

 

Method Detail

modifyJSON

oracle.adfmf.json.JSONObject modifyJSON(oracle.adfmf.json.JSONObject jsonObj)
Method to add custom code to alter the Object after the serialization process in JSONBeanSerializationHelper.toJSON()
Parameters:
jsonObj - JSON Object to be altered
Returns:
Modfied JSONObject

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.