Skip to content

Implement JSONPath

Compare
Choose a tag to compare
@fjogeleit fjogeleit released this 18 Jan 17:59
· 161 commits to master since this release
1c3b431
  • Use JSONPath (Check on NPM) to replace the YAML value
    • Support for JSONPath Queries as valuePath
    • Support for adding new Properties to the YAML

The $. prefix for JSONPaths is optional to be backward compatible with the previous custom implementation. Both propertyPaths have the same result:

  • $.backend.version
  • backend.version

If your query selects multiple values, only the first match will be updated.