lkey = Suppress(Literal(":")) + Word(printables)
lvalue = Forward()
lvalue << (QuotedString(quoteChar='"', escChar='\\')
^ Suppress('[') + Group(OneOrMore(QuotedString('"', escChar='\\'))) + Suppress(']')
^ Suppress('{') + Dict(delimitedList(Group(lkey + lvalue), delim=',')) + Suppress('}'))
row = Suppress("{") + Dict(delimitedList(Group(lkey + lvalue), delim=',')) + Suppress("}")
you call it with:
cljdict = row.parseString(row_of_clj data)
Setting up PostgreSQL 12 Beta 3 for Testing in Amazon RDS
-
One of the amazing things about the PostgreSQL community is launching
releases like clockwork. On 8/8/2019 the PostgreSQL community not only
launched the ...
6 years ago
No comments:
Post a Comment