field()

Receives the field name as an expression and returns the field value. It is also used to refer to the field name containing the blank.

Syntax

field(EXPR)
Required Parameters
EXPR
Expression that returns a field name

Usage

json "[
  {'Registered No.': 1, 'Item':'Fender Precision Bass'},
  {'Registered No.': 2, 'Item':'Gibson Jazz'}
]" 
| search field("Registered No.") == 2