jsonFormatIsAllow function

bool jsonFormatIsAllow(
  1. Map<String, String> features
)

True when JSON encoding uses the standard (ALLOW) format rather than the legacy best-effort path.

Implementation

bool jsonFormatIsAllow(Map<String, String> features) {
  return features[featureJsonFormat] == jsonFormatAllow;
}