Ning Chang created AVRO-3210:
--------------------------------
Summary: how the Avro Schema with Union type can accept the
‘normal JSON’
Key: AVRO-3210
URL: https://issues.apache.org/jira/browse/AVRO-3210
Project: Apache Avro
Issue Type: Task
Reporter: Ning Chang
Attachments: test2.avsc
how the Avro Schema with Union type can accept the ‘normal JSON’
Avro Schema;
{
"name": "middle_name",
"type": [
"null",
"string"
],
"default": null
}
how to accept the Normal json payload like: "middle_name": "chang" , not the
one:
"middle_name": {
"string": "chang"
}
Thanks In advance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)