I have MySql query that will return as JSON_Array from MySql DB.
Query:-
SELECT id,
JSON_ARRAY(GROUP_CONCAT(address))
FROM tb_address
GROUP BY id;
But I can't find proper variable type to receive that return value in Java. Someone can share the some code to handle the MySQL JSON_ARRAY.