tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-1311) Centralize JSON handling of Metadata
Date Mon, 02 Jun 2014 18:20:02 GMT

    [ https://issues.apache.org/jira/browse/TIKA-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015689#comment-14015689

Sergey Beryozkin commented on TIKA-1311:


One possible option is to use JAX-RS MessageBodyReader (MBR) and MessageBodyWriter (MBW) providers,
they deal with reading/writing the data. For example, one can register a GSON MBR/MBW, etc

Cheers, Sergey

> Centralize JSON handling of Metadata
> ------------------------------------
>                 Key: TIKA-1311
>                 URL: https://issues.apache.org/jira/browse/TIKA-1311
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Minor
>         Attachments: TIKA-1311.patch
> When json was initially added to TIKA CLI (TIKA-213), there was a recommendation to centralize
JSON handling of Metadata, potentially putting it in core.  On a recent bug fix (TIKA-1291),
the same recommendation was repeated especially noting that we now handle JSON/Metadata differently
in CLI and server.
> Let's centralize JSON handling in core and use GSON.  We should add a serializer and
a deserializer so that users don't have to reinvent that wheel.

This message was sent by Atlassian JIRA

View raw message