Library for json conversion from kokos format to ken format.
Simply, convert a Json document produced by Kokos framework into a Json document ready for component visualization in Ken mobile framework. This Dart library is intended for internal use in kokos-ken based environments.
No prerequisite needed.
Example of use: convert an EXD json type produced by Kokos in a EXD json type ready for Ken.
Map kokosJson = <some kokos produced json>;
var kokosJsonTransformer = KokosJsonTransformer();
JsonType type =
kokosJsonTransformer.getJsonType('EXD');
Map convertedJson = KokosJsonTransformer().transform(type, kokosJson);
Kokos json format types managed are:
- EXD
- EXB
- TRE
- FBK