Why do you want to go back to String?
Your output looks like jason if I'm not mistaken; if so, there is a jason library that might make life easy. I'm not familiar with jason.
Else you can use strtok() to split the character array on the comma and next check the individual parts. This should get you going, I haven't completely worked it out.
char HTTP_response_buffer[] = "[{\"temp_Max\":25.5,\"temp_Min\":25.3,\"temp_Avg\":25.3,\"humidity\":89.3,\"wind_Direction\":\"249.000\",\"wind_Speed\":1.1,\"rainfall\":0.0,\"wind_Max\":0.0,\"date\":\"2018-09-28\",\"time\":\"17:40\",\"stationname\":\"Gonzalves Training\"}]\nOK";
void setup()
{
Serial.begin(57600);
Serial.println("original");
Serial.println(HTTP_response_buffer);
// remove some stuff at the end
char *p = strstr(HTTP_response_buffer, "}]");
if (p == NULL)
{
Serial.println("Message does not end with }]");
for (;;);
}
// remove the end from the message
*p = '\0';
// set p to the second position in HTTP_response buffer (skip [{)
p = &HTTP_response_buffer[2];
Serial.println("stripped");
Serial.println(p);
Serial.println();
char *field = strtok(p, ",");
while (field != NULL)
{
// print the fields
Serial.println(field);
field = strtok(NULL, ",");
}
}
void loop()
{
// put your main code here, to run repeatedly:
}
Output:
original
[{"temp_Max":25.5,"temp_Min":25.3,"temp_Avg":25.3,"humidity":89.3,"wind_Direction":"249.000","wind_Speed":1.1,"rainfall":0.0,"wind_Max":0.0,"date":"2018-09-28","time":"17:40","stationname":"Gonzalves Training"}]
OK
stripped
"temp_Max":25.5,"temp_Min":25.3,"temp_Avg":25.3,"humidity":89.3,"wind_Direction":"249.000","wind_Speed":1.1,"rainfall":0.0,"wind_Max":0.0,"date":"2018-09-28","time":"17:40","stationname":"Gonzalves Training"
"temp_Max":25.5
"temp_Min":25.3
"temp_Avg":25.3
"humidity":89.3
"wind_Direction":"249.000"
"wind_Speed":1.1
"rainfall":0.0
"wind_Max":0.0
"date":"2018-09-28"
"time":"17:40"
"stationname":"Gonzalves Training"
In a similar way as demonstrated, you can split the fields in key/value by splitting on the colon. Use strcmp() to check if a key is e.g. "wind_Direction" if you're only interested in a few fields or store it in specific variables.
You also might want to check if the first two characters are [{.