Skip to content

#valueOf

Gets the value of a property at the specified path.

#valueOf(path)
Category Paths and existenceValid in Property value
Name Type Description
path path A JSON Path into the source document.

any — The value at the path.

source.json
{
"some": { "path": "hello" }
}
transformer.json
{
"value": "#valueOf($.some.path)"
}
output.json
{
"value": "hello"
}

Try it in the playground →

#exists · #isMissing