toJson method

String toJson ()

JSON equivalent column.

Implementation

String toJson() {
  return "\$table->json('$this');";
}