JsonObject.parseUtf8 constructor

JsonObject.parseUtf8(
  1. List<int> bytes
)

Parses and returns the given UTF8-encoded bytes as an object.

If parsing fails, or the result is not an object, a FormatException is thrown.

Implementation

factory JsonObject.parseUtf8(List<int> bytes) => JsonValue.parseUtf8(bytes);