#Convert string to objects

1 messages · Page 1 of 1 (latest)

uneven doveBOT
#

<@&987246399047479336> please have a look, thanks.

regal stratus
#

is this json ?
also, why are you using such an old version of java ?

full mason
#

it is a string not json

regal stratus
full mason
#
try (
                BufferedReader reader = new BufferedReader(
                        new InputStreamReader(httpConnection.getInputStream())
                )
        ) {
            for (String line; (line = reader.readLine()) != null; )
                result.append(line);
        }
return result;
uneven doveBOT
regal stratus
full mason
#

it is from localhost server, and the original response is as the example provided above not a json object

regal stratus
#

then which langage is this ?