You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/04 23:54:40 UTC
[jira] [Commented] (AVRO-1063) Ruby client should use multi_json
rather than being locked down to yajl
[ https://issues.apache.org/jira/browse/AVRO-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133225#comment-15133225 ]
ASF GitHub Bot commented on AVRO-1063:
--------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/avro/pull/8
> Ruby client should use multi_json rather than being locked down to yajl
> -----------------------------------------------------------------------
>
> Key: AVRO-1063
> URL: https://issues.apache.org/jira/browse/AVRO-1063
> Project: Avro
> Issue Type: Improvement
> Components: ruby
> Reporter: Paul Dlug
> Assignee: Duke
> Priority: Minor
> Fix For: 1.7.6
>
> Attachments: AVRO-1063-build.patch, AVRO-1063.diff, gemfile.patch
>
>
> The avro ruby client uses yajl for JSON serialization which is just one of many suitable JSON implementations for ruby. The multi_json gem provides a wrapper for JSON serialization selecting the fastest library available (Oj is now even faster than Yajl) and falling back to a pure ruby implementation bundled with multi_json. Requiring yajl also precludes the ruby gem from being used under jruby since it requires a C extension.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)