Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题android and js。我jsonArray通过
android and js
jsonArray
JSONArray jsonArray = new JSONArray(defaultTypesName); "javascript:showParams('"+jsonArray+"')");
但是 js 将我的 jsonArray 视为字符串。在 iOS 上看为对象,但在 android 上看为字符串。如何将 jSONArray 传递给 js,因为 js 将其视为对象?