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.

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.

JSClass hooks

JSClass offers the following hook:

See Also