You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juneau.apache.org by "James Bognar (JIRA)" <ji...@apache.org> on 2017/02/09 23:58:41 UTC

[jira] [Commented] (JUNEAU-30) CSV - Parser

    [ https://issues.apache.org/jira/browse/JUNEAU-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15860429#comment-15860429 ] 

James Bognar commented on JUNEAU-30:
------------------------------------

This probably requires a proper CSV design.

Currently, the CSV serializer can serialize two-dimensional object (e.g. arrays of simple beans) by simply converting the cells to strings using the toString() method.  

A true design would allow for arbitrarily-complex models to be serialized and parsed just like the other languages.  That could mean the cells could contain something like JSON for stuff that can't be represented as strings.  
e.g....
123,true,"{a:'bean'}"




> CSV - Parser
> ------------
>
>                 Key: JUNEAU-30
>                 URL: https://issues.apache.org/jira/browse/JUNEAU-30
>             Project: Juneau
>          Issue Type: Improvement
>            Reporter: John D. Ament
>
> CSV supports a serializer.  We should also have a parser.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)