On Thu, Feb 20, 2020 at 8:14 AM Michael Scalia <[email protected]> wrote:
> RFC 8259 <https://tools.ietf.org/html/rfc8259> is *The JavaScript Object > Notation (JSON) Data Interchange Format*. It obsoletes RFC 7159 > <https://tools.ietf.org/html/rfc7159>, which in turn obsoletes RFC 4627 > <https://tools.ietf.org/html/rfc4627>. I believe 4627 was the original > JSON specification. > > I care because my server uses Jackson to parse and generate JSON. Some > customers have asked about support for the more recent JSON RFCs. In > particular, I've been asked about this change from > https://tools.ietf.org/html/rfc7159#appendix-A: > > o Changed the definition of "JSON text" so that it can be any JSON > value, removing the constraint that it be an object or array. > > > Thanks, > > Ah. That makes sense, thank you for clarification. I am not aware of any deviations; at least no bug reports exist. My recollection is that newer json(-related) specification do not contain major changes. Now, with respect to that particular change, yes, Jackson does support reading of any JSON root-level value out of the box. Same is true for things like "line-delimited JSON" ( https://en.wikipedia.org/wiki/JSON_streaming -- line-delimited and concatenated JSON). -+ Tatu +- > > Michael Scalia > > > On Wednesday, February 19, 2020 at 4:44:53 PM UTC-5, Tatu Saloranta wrote: >> >> What is RFC 8259, and why do you care? >> >> -+ Tatu +- >> >> On Wed, Feb 19, 2020 at 1:44 PM Michael Scalia <[email protected]> >> wrote: >> > >> > I'm having trouble finding which version of Jackson supports which JSON >> RFC. >> > >> > Which 2.x version of Jackson supports RFC 8259? >> > >> > Thanks, >> > Michael Scalia >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "jackson-user" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to [email protected]. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/jackson-user/33750e71-1970-4aa3-92be-2ea5ea24a05b%40googlegroups.com. >> >> > -- > You received this message because you are subscribed to the Google Groups > "jackson-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jackson-user/1bf5b233-7344-4be6-b17a-a50df6c34eb7%40googlegroups.com > <https://groups.google.com/d/msgid/jackson-user/1bf5b233-7344-4be6-b17a-a50df6c34eb7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "jackson-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jackson-user/CAGrxA26QGPni1t%2BH4y3UJM6VD_xSGC3r6-jzSbZfU4QPb6vvSg%40mail.gmail.com.
