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 subversion and git services (Jira)" <ji...@apache.org> on 2022/08/30 12:05:00 UTC
[jira] [Commented] (AVRO-3001) JsonEncode Decode support for C#
[ https://issues.apache.org/jira/browse/AVRO-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17597806#comment-17597806 ]
ASF subversion and git services commented on AVRO-3001:
-------------------------------------------------------
Commit 1841ff115d52727094998b80798d52210b8addb6 in avro's branch refs/heads/master from Robert Yokota
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=1841ff115 ]
AVRO-3001 AVRO-3274 AVRO-3568 AVRO-3613: Add JSON encoder/decoder for C# (#1833)
* AVRO-3001 AVRO-3274: Add JSON encoder/decoder for C#
* Add more comments for public/protected members
* Make CodeQL happy
* Make CodeQL happy again
* Minor optimization
* Fix cosmetic issues
* Fix JsonEncoder.StartItem accessibility
* Minor doc fix
* Add fixes and test for JSON encoding/decoding logical types
* Fix fullname calculation for logical schemas
* Fix for AVRO-3613
* Fix for AVRO-3568
* Add union with record test
* Fix test
* Incorporate review feedback
* Incorporate review feedback
* More cleanup
* Revert previous cleanup in favor of recommended cleanup
* Incorporate more review feedback
* Incorporate latest review feedback
* Add more unit tests
* Simplify string constant
* Simplify string constant
* Simplify string constant
* Simplify string constant
Co-authored-by: Martin Grigorov <ma...@users.noreply.github.com>
> JsonEncode Decode support for C#
> --------------------------------
>
> Key: AVRO-3001
> URL: https://issues.apache.org/jira/browse/AVRO-3001
> Project: Apache Avro
> Issue Type: Improvement
> Components: csharp
> Affects Versions: 1.10.0, 1.11.0
> Reporter: Krishnan Unni
> Assignee: Robert Yokota
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0
>
> Time Spent: 10h 40m
> Remaining Estimate: 0h
>
> The C# library for avro currently supports only the Binary encoding and also with compile time types (Generic support only). As part of a project I am doing I need to validate the avro schema against the incoming json data on the fly without a predefined type (generated class). So basically comparing an avro schema (string/json representation) against a raw json string. It is possible with the Java library since it supports both non generic types and streams as well as json encoding. With C# currently this is not possible. Is there a plan to extend the C# library to provide these features? If yes, is there a timeline? If not is there any alternative to achieve this?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)