Skip to content

Commit c9813f3

Browse files
Update README.md
1 parent e4a5be3 commit c9813f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ $instance->getFieldDefinitions();
4444

4545
If you combine this with [spatie/laravel-data](https://github.com/spatie/laravel-data), you can also add validation on top, serialize and deserialize as JSON back and forth from the database.
4646

47-
In the package there is also a caster `ObjectCast` which can cast an json column to an object, it takes the class name from a `type` column of the eloquent model.
47+
In the package there is also a caster `ObjectCast` which can cast a json column to an object, it takes the class name from a `type` column of the eloquent model. You can also map types to specifc classes in the config.
4848

4949
## Testing
5050

0 commit comments

Comments
 (0)