Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Customization

Formatting

Blueprinter V2 has a more generic approach to formatting, allowing any type of value to have formatting applied. Learn more.

format(Date) { |date| date.iso8601 }

The around_field_value, around_object_value, and around_collection_value extension hooks can also be used.

Custom extractors

Custom extraction in V2 can also be accomplished with the around_field_value, around_object_value, and around_collection_value hooks. Read more.

Transformers

Blueprinter V2’s extension hooks offer many ways to transform your inputs and outputs. The around_blueprint hook offers equivalent functionality to Legacy/V1 transformers.