Overview
Comment: | JSON5: Allow strings split across multiple lines. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
2002348e237124b4992fbc488b4bd148 |
User & Date: | js on 2012-06-04 23:50:59 |
Other Links: | manifest | tags |
Context
2012-06-05
| ||
10:21 | JSON5: Allow trailing commas. check-in: 62cd394e96 user: js tags: trunk | |
2012-06-04
| ||
23:50 | JSON5: Allow strings split across multiple lines. check-in: 2002348e23 user: js tags: trunk | |
23:36 | Allow numbers in JSON5 format. check-in: 3e028f7479 user: js tags: trunk | |
Changes
Modified src/OFString+JSONValue.m from [81f47968cf] to [b5b787a904].
︙ | ︙ | |||
228 229 230 231 232 233 234 235 | return nil; } i += l; *pointer += 11; break; default: | > > > > > > > > > > | | | 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | return nil; } i += l; *pointer += 11; break; case '\r': (*pointer)++; if (*pointer < stop && **pointer == '\n') (*pointer)++; break; case '\n': (*pointer)++; break; default: free(buffer); return nil; } /* End of string found */ } else if (**pointer == delimiter) { OFString *ret; @try { ret = [OFString stringWithUTF8String: buffer |
︙ | ︙ |