jspoon icon indicating copy to clipboard operation
jspoon copied to clipboard

Annotation based HTML to Java parser + Retrofit converter

Results 12 jspoon issues
Sort by recently updated
recently updated
newest added

I have: ``` jQuery(function ($) { //some javascript bloat }); ``` I'm trying to get it out with: ``` @Selector(".list-files > script") var l3: String? = null ``` but I'm...

question

**To Reproduce** Steps to reproduce the behavior: 1. Add retrofit converter version `1.3.2` 2. Add these classes ```kotlin data class JobsWrapper( @Selector(".conference-list li") val jobs: List? = null ) @Entity(tableName...

bug

Closes #72. When no match occurs, Jspoon should use the default value given by the user instead of passing `null` to the `node` of `ElementConverter`. `ElementConverter` shouldn't receive `null` as...

Using the JspoonRetrofitConverter only works for Call< TypedResponseClass > e.g. Response< TypedClass > however when I have a generic type such as ApiResponse< T > which would correspond to a...

question

**Describe the bug** When not matched selector, the ElementConverter.convert is assigning (null,Selector) **To Reproduce** Steps to reproduce the behavior: 1. implement ElementConverter 2. ``` kotlin class ExistConverter : ElementConverter {...

**Describe the bug** Can you please let me know what are the pro-guard rules? **To Reproduce** After applying I am getting following crash logs using retrofit Feb 23, 2019 08:37...

Custom converters have limited usefullnes since they cannot access meta-information about the field they're converting. ``` public class CreditCardView { ... @MaskedField @Selector(value="#credit-card-number", converter=CustomStringConverter.class) private String creditCardNumber; ... } public...

enhancement

I am having big trouble exctracting a list of Elements and I had to resort to parsing with Jsoup after parsing with Jspoon. What I've tried so far: In terms...

All jspoon's conversion exceptions extend too broad `RuntimeException` and provide only the error message with no information about what field or class caused it. For example, if you use Jspoon...

enhancement

Most of jspoon's unit tests (the ones not written by me) has assertEquals(arg1, arg2) with arguments switched places. They have first _actual_ then _expected_, when it should be first _expected_...

bug