JSClass.xdrObject

Obsolete since JSAPI 13
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

JSXDR calls the JSClass.xdrObject callback to serialize and deserialize objects.

Syntax

typedef JSBool (*JSXDRObjectOp)(JSXDRState *xdr, JSObject **objp);
Name Type Description
xdr JSXDRState * The XDR reader or writer.
objp JSObject ** The object to be serialized or deserialized.

Description

Serialize or deserialize an object, given an XDR state record representing external data. See jsxdrapi.h.

Document Tags and Contributors

Contributors to this page: tschneidereit, Jorend
Last updated by: tschneidereit,