Json.fromString constructor

Json.fromString(
  1. String json
)

Decodes the string with JsonDecoder and wraps it with Json

Implementation

Json.fromString(String json) : _rawValue = Json.decoder.convert(json);