Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 792 Bytes

overview.md

File metadata and controls

13 lines (11 loc) · 792 Bytes
nav-title title description position
Overview
Data Conversion (Marshalling)
NativeScript Android Runtime Data Conversion (Marshalling)
0

Data Conversion

Being two different worlds, Java and JavaScript use different data types. For example java.lang.String is not the same as the JavaScript's String. The NativeScript Runtime provides implicit type conversion that projects types and values from JavaScript to Java and vice-versa. There are several corner cases - namely with different method overloads, where an explicit input is required to call the desired method but these cases are not common and a typical application will seldom (if ever) need such explicit conversion.

See Also