DecodedValue.from constructor

DecodedValue.from(
  1. String source
)

Constructs a DecodedValue converting the given JSON-string source.

Throws a JsonFormatException if the input is not valid JSON text.

Implementation

factory DecodedValue.from(String source) =>
    DecodedValue._(convertDecode(source));