@Override
        public SpecUrl deserialize(JsonParser parser, DeserializationContext deserializationContext)
            throws IOException
        {
            SpecUrl result = new SpecUrl();
            JsonToken token = parser.currentToken();
            if (token == JsonToken.START_ARRAY) {
                while (parser.nextToken()!= JsonToken.END_ARRAY) {
                    token = parser.currentToken();
                    if (token == JsonToken.VALUE_STRING) {
                        result.add(parser.readValueAs(String.class));
                    } else {
                        deserializationContext.handleUnexpectedToken(String.class, parser);
                    }
                }
            } else {
                if (token == JsonToken.VALUE_STRING) {
                    result.add(parser.readValueAs(String.class));
                } else {
                    deserializationContext.handleUnexpectedToken(String.class, parser);
                }
            }
            return result;
        }
@Override
        public SpecUrl deserialize(JsonParser parser, DeserializationContext deserializationContext)