}
private Geometry createMultiLineString(Geometry geometry, JSONObject json) throws UnmarshallException {
JSONArray lineStrings = json.getJSONArray("lineStrings");
if (lineStrings == null) {
throw new UnmarshallException("lineStrings are missing");
}
Geometry[] geometries = new Geometry[lineStrings.length()];
for (int i = 0; i < lineStrings.length(); i++) {
Geometry lineString = new Geometry("LineString", geometry.getSrid(), geometry.getPrecision());
geometries[i] = createLineString(lineString, lineStrings.getJSONObject(i));