On Wednesday, April 25, 2018 at 11:52:17 PM UTC-7, Tatu Saloranta wrote: > > Ah. Any method starting with underscore is considered more or less > implementation-specific. > So you would need to sort of follow control flow from public methods. > Your suggestion sounds reasonable, assuming you know the type of > pretty printer in question > is DefaultPrettyPrinter. > > -+ Tatu +- >
Yeah, I didn't really want to have to do it this way, because it looked like a lot of secret internal code, but it was the only proven way to wedge some properly formatted JSON into the middle of Jersey 2, Grizzly, etc. You don't want to know how much code I was reading to get this to work initially... ;) 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.
