commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron Gavlin (JIRA)" <>
Subject [jira] [Commented] (CSV-116) Support JSON-encoded properties such as GeoJSON
Date Fri, 16 May 2014 18:29:15 GMT


Ron Gavlin commented on CSV-116:

"Row quoting" refers to the technique used to QUOTE a json column within a CSV ROW. Samples
of the three flavors are available here:

Please let me know if you have further questions. 

Since JSON has become so popular, I think it is reasonable for the CSV component to natively
support JSON-encoded  column values.

> Support JSON-encoded properties such as GeoJSON
> -----------------------------------------------
>                 Key: CSV-116
>                 URL:
>             Project: Commons CSV
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Ron Gavlin
> Support the three json row quoting flavors currently supported by the csv
plugin described here:
> The proposed supported flavors are:
> {noformat}
>     "{\"type\":\"Point\",\"coordinates\":[30.0,10.0]}" // escaped
>     '{"type":"Point","coordinates":[30.0,10.0]}' // single quotes no need for escaped
>     "{""type"":""Point"",""coordinates"":[30.0,10.0]}" // style
> {noformat}
> Note the following commit for this mapnik feature has sample CSV files for your reference:

This message was sent by Atlassian JIRA

View raw message