for first stage i suggest that json not nested - plain pairs key-value packed from post request by php script and passed as single json-type parameter to mysql stored procedure - i need get table where two columns - key and corresponding value
set @j:='{"customer_name":"Ворпенсий", "customer_bd":"1952-10-07"}';
select *, json_unquote(json_extract(@j, concat('$.', `name`))) as `value`
from json_table(json_keys(@j),
"$[*]" columns(name varchar(100) path "$")) as jt;
code work as expected but how can i join this 2-step solution to 1-step?