Delete key

Apache 2.0

Delete a JSON mapping entry key.

org.openrewrite.json.DeleteKey

Required

A JsonPath expression to locate a JSON entry.

mod run . --recipe=org.openrewrite.json.DeleteKey \ -P keyPath='$.subjects.kind'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.