nav-title | title | description | position |
---|---|---|---|
Overview |
Data Conversion (Marshalling) |
NativeScript Android Runtime Data Conversion (Marshalling) |
0 |
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.