1
2
3
4
5
6
7
8
9
10
11 package org.mule.api.annotations.expression;
12
13 import org.mule.api.annotations.meta.Evaluator;
14
15 import java.lang.annotation.Documented;
16 import java.lang.annotation.ElementType;
17 import java.lang.annotation.Retention;
18 import java.lang.annotation.RetentionPolicy;
19 import java.lang.annotation.Target;
20
21 @Target(ElementType.PARAMETER)
22 @Retention(RetentionPolicy.RUNTIME)
23 @Documented
24 @Evaluator("json-node")
25 public @interface JsonPath
26 {
27 String value();
28
29 boolean optional() default false;
30 }