You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tech.allegro.schema.json2avro.converter.AvroConversionException: Failed to convert JSON to Avro: Could not evaluate union, field multiScore is expected to be one of these: NULL, MAP. If this is a complex type, check if offending field: multiScore adheres to schema.
AFAICT, this is syntactically valid JSON for a union{null, map}. I've tried with avro4s too and it decodes things without issues.
Version: 0.2.10
The text was updated successfully, but these errors were encountered:
Example schema:
Example payload:
"{\"id\":\"myKey\",\"multiScore\":{\"map\":{\"a\":10.0}}}"
Exception:
tech.allegro.schema.json2avro.converter.AvroConversionException: Failed to convert JSON to Avro: Could not evaluate union, field multiScore is expected to be one of these: NULL, MAP. If this is a complex type, check if offending field: multiScore adheres to schema.
AFAICT, this is syntactically valid JSON for a
union{null, map}
. I've tried withavro4s
too and it decodes things without issues.Version: 0.2.10
The text was updated successfully, but these errors were encountered: