toJson method

String toJson(
  1. T value
)

Implementation

String toJson(T value) {
  return utf8.decode(toJsonBytes(value));
}