ObjFW  Diff

Differences From Artifact [291a080964]:

To Artifact [a76e28c035]:


636
637
638
639
640
641
642
643

644
645
646
647
648
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: isa
		@throw [OFInvalidJSONException exceptionWithClass: [self class]
							     line: line];

	return object;
}
@end