FeatureJson readFeatureCollection not working properly, if the geojson contains array of object in it.

Description

FeatureJson readFeatureCollection not working properly, if the geojson contains array of object in it. It parse the object value as null.
Also if it is array of objects, the values of next elements after this are also populated wrongly. Which is Big problem for me. Attached is sample geojson file and sample code to understand the problem. If you check the output of second feature, it will not contain the correct result.
I feel parsing logic needs to be enhanced for considering array of objects, so it should not hamper other element values.
Please feel free to contact me for more information.

Environment

Operating system - Window 7
Java version - 1.7.40
Geotools Version - 12.2 (Tried with 14-m0 also)

Status

Assignee

Unassigned

Reporter

Naitik Nisar

Triage

None

Components

Affects versions

12.2

Priority

High
Configure