apply
static
Object
apply
(
schema
,
data
)
Overridable method returns data as-is.
- Parameters:
-
schema <Object>
Schema to apply. -
data <Object>
Data.
- Returns:
Object
- Schema-parsed data.
parse
Object
parse
(
value
,
field
)
Applies field parser, if defined
- Parameters:
-
value <Object>
Original value. -
field <Object>
Field.
- Returns:
Object
- Type-converted value.