final | |
|---|---|
implements |
CastsAttributes<mixed, mixed>, SerializesCastableAttributes |
A JSON column that reads decoded, mostly as an array, and serializes as the JSON text it is. OData has no JSON type: the property is an
Edm.String, so the wire must carry a string, which the client parses.
| Methods | ||
|---|---|---|
public
|
get(Model $model, string $key, mixed $value, array $attributes): mixed
|
# |
public
|
set(Model $model, string $key, mixed $value, array $attributes): ?string
|
# |
public
|
serialize(Model $model, string $key, mixed $value, array $attributes): ?string
|
# |