Package com.mi.util
Interface public interface IJSON
Implementors Matrix4x4, Vector4

Marks an object to have a special jsonObject member that contains the most recent data in a form that is friendly to the JSON serializer. The JSON serializer will check if an object supports this interface and in that case it will use the JSONObject member for serialization. Any object that does not implement this interface will be serialized directly.



Public Methods
  Method Defined By
   
JSONObject():Object
The Object that contains the data that should be JSON serialized.
IJSON
Method Detail
JSONObject () method
public function JSONObject():Object

The Object that contains the data that should be JSON serialized. It is the responsibility of the implementing class to make sure that the returned object is cached when appropriate to improve performance. The caller must not edit the returned object.

Returns
Object