Hi all:
   I use mysql C API , and I want generate JSON object from mysql
recordset, the filed value of JSON should be real type , e.g. int, float,
ect. but the value I got using mysql_fetch_row()  is strings,  I can get its
type using field->type, and then convert the values. but it is not
convinient to me, How to  do  it in  a  smart  way?

--
David

Reply via email to