const mixinafJson::JsonConverter
afJson::JsonConverter
@
Js
Implement to define a custom Fantom Obj <->
JsonObj converter.
- toFantom
abstract Obj? toFantom(JsonConverterCtx ctx, Obj? jsonObj)
Converts the given
jsonObj
to a Fantom entity.- toJsonObj
abstract Obj? toJsonObj(JsonConverterCtx ctx, Obj? entity)
Converts the given
entity
to its JSON representation.