jsonapi v0.9.0 JSONAPI.Utils.Underscore View Source
DEPRECATED. Please Use JSONAPI.Utils.String
instead.
Link to this section Summary
Functions
dash(value)
deprecated
Replace dashes between words in value
with underscores
underscore(value)
deprecated
Replace underscores between words in value
with dashes
Link to this section Functions
Link to this function
dash(value) View Source
This function is deprecated. Use JSONAPI.Utils.String.underscore/1 instead.
Replace dashes between words in value
with underscores
Ignores dashes that are not between letters/numbers
Link to this function
underscore(value) View Source
This function is deprecated. Use JSONAPI.Utils.String.dasherize/1 instead.
Replace underscores between words in value
with dashes
Ignores underscores that are not between letters/numbers