You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2020/05/13 12:56:00 UTC
[jira] [Created] (AVRO-2832) [Java] Create a configurable Formatter
for Schemas
Ryan Skraba created AVRO-2832:
---------------------------------
Summary: [Java] Create a configurable Formatter for Schemas
Key: AVRO-2832
URL: https://issues.apache.org/jira/browse/AVRO-2832
Project: Apache Avro
Issue Type: Bug
Reporter: Ryan Skraba
The JSON String representation of a Schema is obtained using the {{toString(...)}} methods on the class. Instead of using this method, we should create a configurable {{Formatter}} to create the JSON representation.
This would allow configuration options on how the JSON is constructed, notably to include/exclude schemas that should be considered "known" when the Schema is parsed (see AVRO-2822).
This is similar to how the old {{parse(...)}} methods directly on Schema were deprecated in favour of a {{Parser}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)