encodeIdentity() function Signature: export declare function encodeIdentity(i: Identity): JSONObject; Parameters ParameterTypeDescription iIdentity Returns: JSONObject