firexcode
laravel
Laravels
toJson method
toJson
firexcode
laravel
Laravels
toJson method
Laravels extension
Methods
toBigIncrements
toBigInteger
toBinary
toBoolean
toChar
toDate
toDateTime
toDateTimeTz
toDecimal
toDouble
toEncrpt
toEnum
toFloat
toForeignId
togeometry
toGeometryCollection
toIncrements
toInteger
toIpAddress
toJson
toJsonb
toLineString
toLongText
toMacAddress
toMediumIncrements
toMediumInteger
toMediumText
toMorphs
toJson
method
String
toJson
(
)
JSON equivalent column.
Implementation
String toJson() { return "\$table->json('$this');"; }