Option raw
The raw
option generates two properties raw
and record
instead of just the record. The raw
property is the original CSV content and the record
property is the parsed array or object literral.
- Type:
boolean
- Optional
- Default:
false
- Since: 1.1.6
- Related:
cast
,info
,on_record
— see Available Options
All options are compatible but the generated records are structured differently.
Its behavior is similar to the one of the info
option. Both options can be used conjointly.
Output
When the raw
option is activated with the value true
, the resulting record are made up of raw
and record
properties: