Rev 1026 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1026 | Rev 1046 | ||
|---|---|---|---|
| Line 262... | Line 262... | ||
| 262 | } |
262 | } |
| 263 | else if (iter->second.getType() == "float") |
263 | else if (iter->second.getType() == "float") |
| 264 | { |
264 | { |
| 265 | json += iter->second.getValue(); |
265 | json += iter->second.getValue(); |
| 266 | } |
266 | } |
| 267 | else if (iter->second.getType() == "ascii" || |
267 | else if (iter->second.getType() == "ascii" || |
| - | 268 | iter->second.getType() == "hexstring" || |
|
| - | 269 | iter->second.getType() == "enum") |
|
| 268 | { |
270 | { |
| 269 | json += "'" + escape(iter->second.getValue()) + "'"; |
271 | json += "'" + escape(iter->second.getValue()) + "'"; |
| 270 | } |
272 | } |
| 271 | 273 | ||
| 272 | json += ","; |
274 | json += ","; |