|
|
|
@ -153,7 +153,8 @@ public abstract class AbstractJsonProvider implements JsonProvider {
|
|
|
|
|
} else if(obj instanceof String){ |
|
|
|
|
return ((String)obj).length(); |
|
|
|
|
} |
|
|
|
|
throw new JsonPathException("length operation cannot be applied to " + obj!=null?obj.getClass().getName():"null"); |
|
|
|
|
throw new JsonPathException("length operation cannot be applied to " + (obj != null ? obj.getClass().getName() |
|
|
|
|
: "null")); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|