I am always confusing which function I should to use when I am working with JSON. I have JSON-like string.

    "registered_country": {
        "iso_code": "RU",
        "names": {
            "fr": "Russie",
            "de": "Russland",
            "en": "Russia"
        },
        "geoname_id": 2017370
    }

I need to convert it ti JSON Object. How can I do it? Which of them I should to use http://vibed.org/api/vibe.data.json/serializeToJson ?