On Mon, Apr 30, 2018 at 4:44 PM, Matthew Hall <[email protected]> wrote:
> On Mon, Apr 30, 2018 at 4:42 PM, Tatu Saloranta <[email protected]> wrote:
>>
>> Ok then you are unfortunately on your own.
>>
>> You can try sub-classing and it may work (or may break at some point).
>>
>> Good luck!
>>
>> -+ Tatu +-
>
>
> Totally understood, it can fail, and if it does I blame the JSON by all
> means, not Jackson itself, because this is crazy. :)
>
> I am just wondering where I should look to see some examples of how those
> special constructors are invoked, to make the Parser object.
>
> Then I can report back what kind of hilarious results this JSON might produce.

Factory methods are called by ObjectMapper and ObjectReader; those are
probably the best
examples. It is possible to only overload some of internal methods
that these factory methods
delegate to (2 or 3, instead of a dozen).

But it sounds like you would then also need to override many other
accessors for textual data,
and/or `nextToken()` and other methods.

-+ Tatu +-


>
> Matthew.
>
> --
> 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 post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to