Alternatively is this something that I could write...
# serialization
a
Alternatively is this something that I could write some sort of general-purpose
AbstractSerialFormat
implementation for?
f
Dont know about the first question but the answer to this is yes
You can make a format that serializes to french poems if that’s what you desire
đŸ˜‚ 1
Take a look at JsonTreeOutput
a
Iiinteresting... am I correct in my understanding that
Json.plain.toJson(...)
using
JsonTreeOutput
behind the scenes? It looks like that might get the job done for me
Ah darn, it looks like
Json.plain.toJson(...)
spits out a
JsonElement
which is not the same as a JS object/map