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