pramsey / pgsql-postal

PostgreSQL binding for libpostal
MIT License
138 stars 20 forks source link

postal_parse not always returns valid JSON #6

Closed linuzer closed 7 years ago

linuzer commented 7 years ago

Hi,

while working with your module, I encountered, that the postal_parse function is not always returning a valid JSON object. That is, when the input string contains some special characters, like quotation marks or a backslashes. There might be more, so far I found only those. Please consider the related issue on the libpostal project and the two examples there that demonstrates the issue.

Best regards.

pramsey commented 7 years ago

Should be better at 3dacfed..234c3b6

linuzer commented 7 years ago

Great! Thank you very much!