|
My inclination is to always return a meaningful reference regardless of
unexpected characters found in the stream, so that any valid content can be
extracted or reported. That's my idea of error forgiveness.
In the case of Jon's example:
[ "name" : X , "another" : 12 ]
The colon character encountered in position 9 would not be expected.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.