Re: shade+relocate policy & parsing JSON

2020-03-04 Thread Matt Sicker
JSON itself is a fairly simple grammar to parse, though doing so in Java requires a third library party or a tediously written parser. Can you implement schema support in a pluggable way to allow it to be done in its own module? Or are schemas required for this layout? On Wed, 4 Mar 2020 at 10:10

Re: shade+relocate policy & parsing JSON

2020-03-04 Thread Gary Gregory
Shading Antlr or another parser, generated or in a library, is out of bounds IMO. Writing our own JSON parser is not a good idea either, it's not something a logging library should be in the business of maintaining, IMO again. It just feels to me like you just want jam your new module in core at an

Re: shade+relocate policy & parsing JSON

2020-03-04 Thread Ralph Goers
> On Mar 4, 2020, at 1:23 AM, Volkan Yazıcı wrote: > > Hello, > > I have managed to produce JSON in JsonTemplateLayout without using > Jackson. I have successfully implemented all existing features with > the exception of pretty printing, which I will leave out. There is a > 2nd use case for

shade+relocate policy & parsing JSON

2020-03-04 Thread Volkan Yazıcı
Hello, I have managed to produce JSON in JsonTemplateLayout without using Jackson. I have successfully implemented all existing features with the exception of pretty printing, which I will leave out. There is a 2nd use case for Jackson in JsonTemplateLayout: reading the JSON schema. That is, JsonT