Differences From Artifact [291a080964]:
- File
src/OFString+JSONValue.m
— part of check-in
[72c71c4eb2]
at
2012-06-10 16:07:33
on branch trunk
— JSON: Make it possible to get the invalid line.
This introduces OFInvalidJSONException, which has a property line to get
the line in which the parsing error occurred. (user: js, size: 12343) [annotate] [blame] [check-ins using] [more...]
To Artifact [a76e28c035]:
- File src/OFString+JSONValue.m — part of check-in [8892ae9fcc] at 2012-07-12 01:28:46 on branch trunk — Don't access isa directly. (user: js, size: 12352) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
636 637 638 639 640 641 642 | id object; size_t line = 1; object = nextObject(&pointer, stop, &line); skipWhitespacesAndComments(&pointer, stop, &line); if (pointer < stop || object == nil) | | | 636 637 638 639 640 641 642 643 644 645 646 647 648 | id object; size_t line = 1; object = nextObject(&pointer, stop, &line); skipWhitespacesAndComments(&pointer, stop, &line); if (pointer < stop || object == nil) @throw [OFInvalidJSONException exceptionWithClass: [self class] line: line]; return object; } @end |