Package io.jmix.reports.annotation
Annotation Interface JsonDataSetParameters
Additional parameters for a data set definition of
Model object is
DataSetType.JSON type.
JSON data set first loads the input from the specified source, and then extracts necessary items from the input
using a JSON Path query. Result of the extraction is returned as the band data.
Model object is
DataSet.- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionAlias of the input parameter used as source for the JSON input, forJsonSourceType.PARAMETERsource.JSON Path query to extract necessary data from the received JSON input (for all sources).Specifies where the JSON input comes from.URL where the JSON input will be loaded from, forJsonSourceType.URLsource.
-
Element Details
-
source
JsonSourceType sourceSpecifies where the JSON input comes from. Note: GROOVY_SCRIPT isn't supported here, use DELEGATE instead.- Default:
- URL
-
url
String urlURL where the JSON input will be loaded from, forJsonSourceType.URLsource.- Default:
- ""
-
jsonPathQuery
String jsonPathQueryJSON Path query to extract necessary data from the received JSON input (for all sources). Example:$.store.book[*].- Default:
- ""
-
inputParameter
String inputParameterAlias of the input parameter used as source for the JSON input, forJsonSourceType.PARAMETERsource.- Default:
- ""
-