void function ( ) { final ScriptEngine loc0 = new NashornScriptEngineFactory ( ) . getScriptEngine ( ) ; final Object loc1 = loc0 . eval ( "srini_string" ) ; assertEquals ( asList ( loc1 ) , Arrays . asList ( 1 , 2 , 3 ) ) ; }
wrap a top-level array as a list . concode_field_sep PlaceHolder placeHolder concode_field_sep void testNonWrapping concode_elem_sep Map<String,Object> asMap concode_elem_sep void testWrapObjectWithArray concode_elem_sep void testDeepWrapping concode_elem_sep void assertJSObject concode_elem_sep List<Object> asList