Field » raw
raw() → object or value
Retrieve a native javascript object representation of the value. The raw representation differs depending on whether there is a name (e.g. for a field value), or not (applies only to list item values).
enocolor: blue
numbers:
- 13
- 42
javascriptconst document = eno.parse(input);
document.element('color').raw(); // returns { color: 'blue' }
const listItems = document.element('numbers').elements();
listItems[0].raw(); // returns '13'
Return value
A native representation of the value element.