addServer ("host_ubuntu1",21201); $keys = array ('t1521','t1522','t1523', 't1524','t1525','t1526', 't1527','t1528','t1529', 't1530','t1531','t1532'); $dict_aa = kvalue_to_dict_proc ($mc,$keys); $json_str = json_encode ($dict_aa); echo $json_str; // --------------------------------------------------------------------- ?>