Skip to content Skip to sidebar Skip to footer

Error Parsing Json Data (value Of Type Java.lang.string Cannot Be Converted To Json Array)

i am trying to implement simple android application where i am trying to retrieve the database values over php site, but the following code generates error parsing json data. my ph

Solution 1:

The response returned by PHP script is not in valid JSON format.

You need to put $output=array(); somewhere before the while loop

Post a Comment for "Error Parsing Json Data (value Of Type Java.lang.string Cannot Be Converted To Json Array)"