Tatu Saloranta
Tatu Saloranta
To help future work, output looks like: ``` {"com.fasterxml.jackson.datatype.jdk8.PolymorphicOptionalTest$Foo":{"bar":1}} ``` and that would seem to be missing type information for contents, somehow.
First a quick note: trailing commas are optionally available, but like anything that breaks strict JSON compliancy, must be explicitly enabled. Test file `src/test/java/com/fasterxml/jackson/core/read/TrailingCommasTest.java` has usage. Something like: ```java JsonFactory...
@literakl yes, I'll try to get to adding that too. I wish project had more contributors to help with documentation, too, so it'd be more up to date. On new...
@OverlyExcessive It works just fine with deserialization if you use setters (or fields). Note that you do NOT have to pass ALL properties via creator; mixing and matching creator and...
@plcarmel First of all, thank you for investigating this, and writing above analysis. I agree on parts of amount of duplication being unfortunate; parts of this are for optimization, although...
@plcarmel Yes. Also: it goes without saying that any incremental improvements for existing handling, simplifications, are welcome if you find some. Sometimes working on a prototype other orthogonal improvements are...
Who amongst us has not rewritten a LALR(1) parser at least once in their life! :-D Actually it has been 25 years since I last read the Dragon Book so...
There is no way to emit comments, in general, by Jackson, so it would be necessary to first figure out why this is something to add (use case, and where...
I guess I am more used to people adding comments manually, and more trying to understand how a machine-processable generation would add comments. I am familiar with comment usage in...
@asomov Hmmh. Ok, that would indeed be a blocker. I understand that retaining comments can be tricky (as they really do not play well with object models in general), wrt...