コード例 #1
0
    /**
     * Retrieves and parses the JSON-encoded response item with the passed ID and
     * returns the parsed item as a List of OpenSocialPerson objects.
     *
     * @param  id ID of the response item to parse
     * @throws OpenSocialRequestException
     * @throws JSONException
     * @throws IllegalAccessException
     * @throws InstantiationException
     */
    public List <OpenSocialPerson> getItemAsPersonCollection(String id)
    {
        String item = this.items[id];

        return(OpenSocialJsonParser.parseAsPersonCollection(item));
    }