Ask for upstream changes in Jackson-core
Opened this issue · 0 comments
chriskilding commented
The Jackson Core superclasses have some aspects that make them awkward to specialise for RON. Ask for changes in upstream to make this easier.
JsonStreamContext#inArray()
isfinal
. We need to override this, so ask for the final modifier to be removed.JsonStreamContext#inRoot()
isfinal
. We need to override this, so ask for the final modifier to be removed.JsonStreamContext#inObject()
isfinal
. We need to override this, so ask for the final modifier to be removed.JsonParser#nextToken()
returnsJsonToken
which is an enum. This means it can't be extended to add RON concepts like START_TUPLE/END_TUPLE. So we have to provide the awkwardnextRONToken
method adjacent to it. Ask for this to be changed into something that can handle extension, e.g. makeJsonToken
an interface.MapperFeature
is an enum. This means it can't be extended to add RON concepts (like say WRITE_STRUCT_NAMES) to the RONMapper.