rbv_api_toJS

Warning: Support for using this method with external objects (such as those mapped to external tables, to OpenEdge Service objects, or through a HDP connection) is a beta feature. This method is supported in production systems, except for external objects.

Purpose

This function converts a Java object to a native Javascript object.

Syntax

rbv_api.toJS(javaObject)

Parameters

javaObject

The Java object to be converted into a native Javascript object.

Return Value

Javascript native object.

Example

Converts a Java object to its JavaScript representation.

var nativeObject = rbv_api.toJS(javaObject);