|
|
@ -100,7 +100,7 @@ public abstract class PathRef implements Comparable<PathRef> { |
|
|
|
if(configuration.jsonProvider().isMap(parent)){ |
|
|
|
if(configuration.jsonProvider().isMap(parent)){ |
|
|
|
configuration.jsonProvider().setProperty(parent, key, newVal); |
|
|
|
configuration.jsonProvider().setProperty(parent, key, newVal); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
throw new InvalidModificationException("Invalid add operation. $ is not an array"); |
|
|
|
throw new InvalidModificationException("Invalid put operation. $ is not a map"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|