Change value
Apache 2.0Change a JSON mapping entry value leaving the key intact.
org. openrewrite. json. ChangeValueRequired
A JsonPath expression to locate a JSON entry.
The new JSON value to set for the key identified by oldKeyPath.
mod run . --recipe= org. openrewrite. json. ChangeValue \
-P oldKeyPath= '$. subjects. kind' \
-P value= ''\''Deployment'\'''Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.