juneau-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Bognar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JUNEAU-30) CSV - Parser
Date Thu, 09 Feb 2017 23:58:41 GMT

    [ 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)

Mime
View raw message