kEncoder -> kJsonEncoder

This commit is contained in:
Ashita Prasad
2024-09-08 05:05:00 +05:30
parent 4c1b75bf98
commit bd5c83525e
11 changed files with 23 additions and 21 deletions

View File

@ -138,7 +138,7 @@ String? formatBody(String? body, MediaType? mediaType) {
try {
if (subtype.contains(kSubTypeJson)) {
final tmp = jsonDecode(body);
String result = kEncoder.convert(tmp);
String result = kJsonEncoder.convert(tmp);
return result;
}
if (subtype.contains(kSubTypeXml)) {