Schema-to-pojo type "map" does not use actual JSON Map

Description

When "type": "map" is defined for a JSON schema, it generates JSON of an array of key-value pairs in stead of using JSON's native map structure

Was expecting serialized JSON to be:

1 2 3 4 { "key1":"val1", "key2":"val2" }

But it was:

1 2 [{"key":"key1", "value":"val1"}, {"key":"key2", "value": "val2"}]

Environment

None

Status

Assignee

Ziming Dong

Reporter

Ziming Dong

Labels

None

Validator

Bruce Hoff

Release Version History

None

Priority

Major