I have a Java application that contains the buildCustomModel() function. I want to convert the following code from json to java

{
“speed”: [
{
“if”: “in_custom1”,
“multiply_by”: “0.7”
},
{
“if”: “in_custom1”,
“limit_to”: “50”
}
],
“areas”: {
“type”: “FeatureCollection”,
“features”: [{
“type”: “Feature”,
“id”: “custom1”,
“properties”: {},
“geometry”: {
“type”: “Polygon”,
“coordinates”: [
[
[ 1.525, 42.511 ],
[ 1.510, 42.503 ],
[ 1.531, 42.495 ],
[ 1.542, 42.505 ],
[ 1.525, 42.511 ]
]
]
}
}]
}
}