jdereg / json-io

Convert Java to JSON. Convert JSON to Java. Pretty print JSON. Java JSON serializer. Deep copy Java object graphs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Provide a means of overriding the writing of an object

francisu opened this issue · comments

Currently the custom writer support does not allow you to simple add a field and then write the current object normally. You can write a child object, but not the current one.

A pull request will be provided.

implemented by @francisu . Available in json-io 4.5.0