REST - Empty response on JSON layergroup

Description

When the layergroup is added and contains layers without styles, the JSON responses return HTTP 200, but are empty. XML responds normally/as expected. Problem surfaces with multiple layers ~ 5 in the layer group.

there is an error in the JSON parser causing non-matching close brackets for null values ocurring in the geoserver XStreamPersister, eg:

The expected behavior here would be something like:

Environment

None

Status

Assignee

Unassigned

Reporter

Jonathan Hankes

Triage

None

Fix versions

Affects versions

Components

Priority

Medium
Configure