[
https://issues.apache.org/jira/browse/AVRO-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15010885#comment-15010885
]
Magnus Edenhill commented on AVRO-1691:
---------------------------------------
Fixing this requires the JSON_DECODE_ANY flag which unfortunately is not
available in the bundled jansson (v2.1), so it'll require an upgrade to a later
jansson (latest stable is 2.7).
The proper fix might be to depend on an external jansson instead of bundling it.
> Error parsing schema if schema is json string
> ---------------------------------------------
>
> Key: AVRO-1691
> URL: https://issues.apache.org/jira/browse/AVRO-1691
> Project: Avro
> Issue Type: Bug
> Affects Versions: 1.7.7
> Reporter: Vikas Kumar
>
> I have a schema which looks like:
> "int"
> in file_read_header , I got an error: Cannot parse file header: Error parsing
> JSON: '[' or '{' expected near '"int"'
> I see avro-c uses json_loadb from jansson which may be populating this error.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)