google / gson

A Java serialization/deserialization library to convert Java Objects into JSON and back
Apache License 2.0
23.25k stars 4.27k forks source link

Consistently refer to RFC 7159 #1710

Closed Marcono1234 closed 1 year ago

Marcono1234 commented 4 years ago

Parts of Gson refer to RFC 4627 while other parts refer to RFC 7159 (which updates 4627). It would be good to consistently refer to RFC 7159. This requires:

marcus-h commented 4 years ago

It might make sense to directly refer to RFC 8259. For the JsonReader class, this is already part of PR #1609 (which adds a new parsing mode to ensure that only JSON text is accepted that complies to RFC 8259).

Marcono1234 commented 1 year ago

Has been fixed by #2437, which consistently refers to RFC 8259.