mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-03 03:40:09 +03:00
Merge 10feb5350d
into 4b4d2796b7
This commit is contained in:
commit
82696d8423
|
@ -78,6 +78,9 @@ class Json(object):
|
|||
if proto is ISQLQuote:
|
||||
return self
|
||||
|
||||
def __repr__(self):
|
||||
return self.dumps()
|
||||
|
||||
def dumps(self, obj):
|
||||
"""Serialize *obj* in JSON format.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user