[ https://issues.apache.org/jira/browse/AVRO-3998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Tzvetanov Grigorov resolved AVRO-3998. --------------------------------------------- Fix Version/s: 1.12.0 Assignee: Fokko Driesprong Resolution: Fixed > Switch Perl library from JSON::XS to JSON::MaybeXS > -------------------------------------------------- > > Key: AVRO-3998 > URL: https://issues.apache.org/jira/browse/AVRO-3998 > Project: Apache Avro > Issue Type: Improvement > Components: perl > Reporter: José Joaquín Atria > Assignee: Fokko Driesprong > Priority: Minor > Labels: pull-request-available > Fix For: 1.12.0 > > Time Spent: 20m > Remaining Estimate: 0h > > The Perl library currently depends directly on JSON::XS, which forces a > decision of the JSON backend on the user. Perl currently has a number of > compatible backends, including JSON::PP, which is shipped with Perl itself. > The JSON::MaybeXS library serves as a compatibility layer to allow users to > select the JSON backend that matches their stack, rather than forcing them to > install a specific one, while still benefiting from the performance boost of > XS libraries if they are available. > Note that AVRO-1514 already exists aiming to clean up some dependencies, > including replacing JSON::XS with plain JSON, a different compatibility layer. > While the other changes in AVRO-1514 I think are desirable, that ticket seems > to have stalled, and JSON::MaybeXS seems like a better alternative since it > also supports Cpanel::JSON::XS as an additional possible backend. -- This message was sent by Atlassian Jira (v8.20.10#820010)