json<T> method
Provides the declared Cloudflare API member.
Implementation
T? json<T>({CloudflareJsonDecoder<T>? decode}) {
final value = jsonDecode(text());
return decode == null ? value as T? : decode(value);
}
Provides the declared Cloudflare API member.
T? json<T>({CloudflareJsonDecoder<T>? decode}) {
final value = jsonDecode(text());
return decode == null ? value as T? : decode(value);
}