jsonlite icon indicating copy to clipboard operation
jsonlite copied to clipboard

Mention slight inconsistency vs rjson::toJSON

Open MichaelChirico opened this issue 3 years ago • 2 comments

Closes #348

MichaelChirico avatar Feb 26 '21 20:02 MichaelChirico

There are many differences between rjson and jsonlite, they use a completely different mappings. I don't think mentioning this one detail about rjson behavior is very helpful. Perhaps it would make sense to define a wrapper function which tries to mimic the rjson default behavior.

jeroen avatar Feb 27 '21 13:02 jeroen

Do you agree that calling it a "drop-in replacement" is problematic? I'm open to other solutions

On Sat, Feb 27, 2021, 5:35 AM Jeroen Ooms [email protected] wrote:

There are many differences between rjson and jsonlite, they use a completely different mappings. I don't think mentioning this one detail about rjson behavior is very helpful...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jeroen/jsonlite/pull/349#issuecomment-787073646, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2BA5KYZ2RP4LWUFBN2ZWDTBDYKZANCNFSM4YJCNFMQ .

MichaelChirico avatar Feb 27 '21 16:02 MichaelChirico