Annotation Type GivenJsonLinesResource
-
@Target({FIELD,PARAMETER}) @Retention(RUNTIME) @Documented @API(status=EXPERIMENTAL, since="0.1") public @interface GivenJsonLinesResourceAnnotates field or test parameter that must be injected with parsed content of JSONL resource file with path'from'.- See Also:
WithJacksonMapper,WithGson
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringcharsetjava.lang.Stringfromjava.lang.Stringgsonjava.lang.StringjacksonMapperjava.lang.Stringvalue
-
-
-
Element Detail
-
value
java.lang.String value
- Returns:
- Alias for
from().
- Default:
- ""
-
-
-
jacksonMapper
java.lang.String jacksonMapper
- Returns:
- Optional. Name of Jackson
ObjectMapperobject annotated withWithJacksonMapperthat will be used to parse resource.
- Default:
- ""
-
-
-
gson
java.lang.String gson
- Returns:
- Optional. Name of GSON
Gsonobject annotated withWithGsonthat will be used to parse resource.
- Default:
- ""
-
-