(via FasterXML/jackson3-dev#17)
So: since calling createGenerator
through JsonFactory
can not properly link ObjectWriteContext
, it'd be much better to have equivalent factory methods in ObjectMapper
and ObjectWriter
. And we can also add a subset in ObjectWriteContext
, for possible "JSON in JSON" use cases.