You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a bug in the underlying libjson library. It has been fixed in the latest version of the libjson, however RJSONIO still uses an old version. The jsonlite package uses the latest version though :)
Thanks Jeroen. Yep it is a bug in libjson.
I will put a new version of RJSONIO on CRAN very soon.
However, you can use a new version of libjson with the existing RJSONIO when installing RJSONIO from source. For quite some time, we have been able to use an alternative version of the libjson than the one that comes with RJSONIO.
I had a strange but valid-looking JSON string be rejected by isValidJSON:
So I tested, and turns out that fromJSON is able to parse it properly:
Moreover, JSONlint says this is a valid JSON entry:
So I am thinking that this might be a bug in isValidJSON.
The text was updated successfully, but these errors were encountered: