494 {
495 fl::string result;
496 if (!jsonStr) {
497 return result;
498 }
499 size_t len = strlen(jsonStr);
500 for (size_t i = 0; i < len; ++i) {
501 char c = jsonStr[i];
502 if (c != ' ' && c != '\t' && c != '\n' && c != '\r') {
503 result += c;
504 }
505 }
506 return result;
507}