# Uses of Interface
jdk.nashorn.api.scripting.JSObject

Packages that use JSObject
Package | Description
--- | ---
jdk.nashorn.api.scripting | This package provides the `javax.script` integration, which is the preferred way to use Nashorn.

## Uses of JSObject in jdk.nashorn.api.scripting

Classes in jdk.nashorn.api.scripting that implement JSObject
Modifier and Type | Class | Description
--- | --- | ---
`class` | `AbstractJSObject` | Deprecated, for removal: This API element is subject to removal in a future version. Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.
`class` | `ScriptObjectMirror` | Deprecated, for removal: This API element is subject to removal in a future version. Nashorn JavaScript script engine and APIs, and the jjs tool are deprecated with the intent to remove them in a future release.

Methods in jdk.nashorn.api.scripting with parameters of type JSObject
Modifier and Type | Method | Description
--- | --- | ---
`static Object` | AbstractJSObject.`getDefaultValue​(JSObject jsobj, Class<?> hint)` | Deprecated. use `getDefaultValue(Class)` instead.