MySQL Forums
Forum List  »  Connector/Python

Re: Getting XML and/or JSON strings (objects) using the Connector/Python.
Posted by: Ernest Bonat
Date: May 31, 2014 10:38AM

Hi Geert,
I was asking how to convert a connect data cursor to json string or xml string. Is there any API developed for it? If not, any idea or sample code?
For example:
json_string = cursor.to_json(database_cursor)
Thanks
Ernest Bonat, Ph.D.

Options: ReplyQuote


Subject
Written By
Posted
Re: Getting XML and/or JSON strings (objects) using the Connector/Python.
May 31, 2014 10:38AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.