1
I am using Vraptor 4 and the intention is to create a converting class of Polygon that does the deserialization and serializes. My problem is only in deserialize. How to deserialize a geometric polygon with Gson?
Follow the json I need to deserialize
{
   "perimeter": {
            "type": "Polygon",
            "coordinates": [
                [
                    [
                        -60.908203125,
                        -18.6328125
                    ],
                    [
                        -54.140625,
                        -14.677734375
                    ],
                    [
                        -51.6796875,
                        -23.291015625
                    ],
                    [
                        -58.88671875,
                        -22.1484375
                    ],
                    [
                        -60.908203125,
                        -18.6328125
                    ]
                ]
            ]
        }
    }
would not be Json ?
– Otto
@Otto No: https://code.google.com/p/google-gson/
– Bacco
@if possible, edit the question with the problem you are having in the deserialization.
– Bacco
You can let me do that, thank you
– tmvolpato