public static StopForumSpamResponse parseJson(InputStream src) {
        StopForumSpamResponse response = new StopForumSpamResponse();
        JsonFactory factory = new JsonFactory();
        try {
            JsonParser parser = factory.createJsonParser(src);
            while(parser.nextToken() != JsonToken.END_OBJECT) {
                String token = parser.getCurrentName();

                if("success".equals(token)) {
                    parser.nextToken();
                    response.setSuccess(parser.getText().equals("1"));
                }

                if("lastseen".equals(token)) {
                    parser.nextToken();
                    response.setLastSeen(StopForumSpamResponse.getDateFormat()
                            .parse(parser.getText()));
                }

                if("frequency".equals(token)) {
                    parser.nextToken();
                    response.setFrequency(parser.getIntValue());
                }

                if("appears".equals(token)) {
                    parser.nextToken();
                    response.setAppears(parser.getIntValue());
                }

                if("confidence".equals(token)) {
                    parser.nextToken();
                    response.setConfidence(parser.getFloatValue());
                }
            }
        } catch (Exception e) {
            System.out.println(e.toString());
        }

        return response;
    }