filmov
tv
JSON Serialization with Alba in Hanami | Hanami Mastery - Episode #021
![preview_player](https://i.ytimg.com/vi/SHxV_pxh6m4/maxresdefault.jpg)
Показать описание
Serialize your API responses in Hanami applications with alba - the fastest ruby serialization gem
Sponsored:
---
00:00 Intro
00:09 Announcement
00:38 Subscribe
00:47 What is serialization?
01:14 Examples of ruby serialization gems
02:15 Alba
02:35 Okura Masafumi
03:02 App overview
03:36 Install Alba in Hanami app
03:52 Configure Alba using Hanami providers
04:34 Create API endpoints in Hanami app
05:03 Serialize single resource
05:40 Serialize collection
05:59 Create Alba resource
08:00 Default values
08:35 Transform keys
09:19 Inline serialization
09:51 Summary
10:54 Become #awesomesubscriber
11:00 Thanks
---
You are amazing! :)
Contact Me: See below for social links
---
If you really enjoy my content, you're welcome to support me, this Channel, and the whole HanamiMastery initiative by sponsoring on Github or sending a small donation.
10% of all profits related to this channel I get in any way is directly transferred to support Hanami's development.
If you really enjoy my content, you're welcome to support me, this Channel, and the whole HanamiMastery initiative by sponsoring on Github or sending a small donation.
10% of all profits related to this channel I get in any way is directly transferred to support Hanami's development.
If you wish, you can also support me with crypto:
BTC: 3BSBYzhABCLSynb72VZDM9tvxjzuCqNbd4
ETH: 0x059597040F72e23715fe79b8485906B600caE2Df
---
Never miss a new episode by subscribing to our Newsletter:
Sponsored:
---
00:00 Intro
00:09 Announcement
00:38 Subscribe
00:47 What is serialization?
01:14 Examples of ruby serialization gems
02:15 Alba
02:35 Okura Masafumi
03:02 App overview
03:36 Install Alba in Hanami app
03:52 Configure Alba using Hanami providers
04:34 Create API endpoints in Hanami app
05:03 Serialize single resource
05:40 Serialize collection
05:59 Create Alba resource
08:00 Default values
08:35 Transform keys
09:19 Inline serialization
09:51 Summary
10:54 Become #awesomesubscriber
11:00 Thanks
---
You are amazing! :)
Contact Me: See below for social links
---
If you really enjoy my content, you're welcome to support me, this Channel, and the whole HanamiMastery initiative by sponsoring on Github or sending a small donation.
10% of all profits related to this channel I get in any way is directly transferred to support Hanami's development.
If you really enjoy my content, you're welcome to support me, this Channel, and the whole HanamiMastery initiative by sponsoring on Github or sending a small donation.
10% of all profits related to this channel I get in any way is directly transferred to support Hanami's development.
If you wish, you can also support me with crypto:
BTC: 3BSBYzhABCLSynb72VZDM9tvxjzuCqNbd4
ETH: 0x059597040F72e23715fe79b8485906B600caE2Df
---
Never miss a new episode by subscribing to our Newsletter: