src/main/java/com/github/jreddit/parser/listing/CommentsListingParser.java
public List<Comment> parse(String jsonText) throws RedditParseException {
        
        // Parse to a list of things
        List<Thing> things = this.parseGeneric(jsonText);
        
        // List of comment and submission mixed elements
        List<Comment> comments = new LinkedList<Comment>();
        
        // Iterate over things
        for (Thing t : things) {
            
            if (t instanceof Comment) {
                comments.add((Comment) t);
            } else {
                LOGGER.warn("Encountered an unexpected reddit thing (" + t.getKind().value() + "), skipping it.");
            }
            
        }
        
        // Return resulting comments list
        return comments;
        
    }
public List<Comment> parse(String jsonText) throws RedditParseException {
        
        // Parse to a list of things
        List<Thing> things = this.parseGeneric(jsonText);
        
        // List of comment and submission mixed elements
        List<Comment> comments = new LinkedList<Comment>();
        
        // Iterate over things
        for (Thing t : things) {
            
            if (t instanceof Comment) {
                comments.add((Comment) t);
            } else {
                LOGGER.warn("Encountered an unexpected reddit thing (" + t.getKind().value() + "), skipping it.");
            }
            
        }
        
        // Return resulting comments list
        return comments;
        
    }
Parse JSON received from reddit into a list of comments.
This parser expects the JSON to be of a listing of comments.<br>
<br>
<i>Note: this parsing can only be performed on listings of comments, not on
a comment tree of a submission.</i>

@param jsonText JSON Text
@return Parsed list of comments

@throws ParseException
@throws RedditRequestException