Option quoted_empty
Quote empty strings. It overrides quoted_string
on empty strings when defined.
- Type:
boolean
- Optional
- Default:
false
- Since: 0.0.4
- Related:
quote
,quoted_match
,quoted_string
,quoted
— see Available Options
Note, several options are available to control when to quote fields under certain conditions. Make sure to review the alternatives.
Example
In the quoted_empty example, every field evaluated as empty is quoted. It includes an empty string and values of false
, null
and undefined
.