($b)
| 203 | } |
| 204 | |
| 205 | private function writeJSONString($b) |
| 206 | { |
| 207 | $this->context_->write(); |
| 208 | |
| 209 | if (is_numeric($b) && $this->context_->escapeNum()) { |
| 210 | $this->trans_->write(self::QUOTE); |
| 211 | } |
| 212 | |
| 213 | $this->trans_->write(json_encode($b, JSON_UNESCAPED_UNICODE)); |
| 214 | |
| 215 | if (is_numeric($b) && $this->context_->escapeNum()) { |
| 216 | $this->trans_->write(self::QUOTE); |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | private function writeJSONInteger($num) |
| 221 | { |