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 2022/08/22 00:28:00 UTC

[jira] [Work logged] (AVRO-3001) JsconEncode Decode support for C#

     [ https://issues.apache.org/jira/browse/AVRO-3001?focusedWorklogId=802316&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-802316 ]

ASF GitHub Bot logged work on AVRO-3001:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Aug/22 00:27
            Start Date: 22/Aug/22 00:27
    Worklog Time Spent: 10m 
      Work Description: rayokota opened a new pull request, #1833:
URL: https://github.com/apache/avro/pull/1833

   Add JSON encoder/decoder for C#.
   
   This PR is a straightforward port of the corresponding classes from Java.  The tests for the JSON encoder/decoder have also been ported to C#.
   
   
   ### Jira
   
   - [ x] 
     - https://issues.apache.org/jira/browse/AVRO-3001
     - https://issues.apache.org/jira/browse/AVRO-3024
   
   
   ### Tests
   
   - [ x] This PR also ports the tests for the JSON encoder/decoder from Java to C#.
   
   ### Commits
   
   - [ x] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "[How to write a good git commit message](https://chris.beams.io/posts/git-commit/)":
     1. Subject is separated from body by a blank line
     1. Subject is limited to 50 characters (not including Jira issue reference)
     1. Subject does not end with a period
     1. Subject uses the imperative mood ("add", not "adding")
     1. Body wraps at 72 characters
     1. Body explains "what" and "why", not "how"
   
   ### Documentation
   
   - [ ] In case of new functionality, my PR adds documentation that describes how to use it.
     - All the public functions and the classes in the PR contain Javadoc that explain what it does
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 802316)
    Remaining Estimate: 0h
            Time Spent: 10m

> JsconEncode 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
>            Priority: Major
>          Time Spent: 10m
>  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)