This article needs a technical review. How you can help.

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.

JSXDRObjectOp is the type for JSClass.xdrObject.


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.


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

JSClass hooks

JSClass offers the following hook:

See Also

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,