Convert a JSONObject into a well-formed, element-normal XML string. @param object A JSONObject. @return A string.
(Object object)
| 374 | * @return A string. |
| 375 | */ |
| 376 | public static String toString(Object object) throws JSONException { |
| 377 | return toString(object, null); |
| 378 | } |
| 379 | |
| 380 | /** |
| 381 | * Convert a JSONObject into a well-formed, element-normal XML string. |