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)
PostgreSQL Extensions - A Deeper Look
-
My slides from my session "PostgreSQL Extensions - A Deeper Look" at
PostgresOpen 2019 and PostgresConf SV 2019
* PostgreSQL Extensions: A deeper look ...
5 years ago
No comments:
Post a Comment