Skip to content

Flutter library for json trasformation from Kokos format to Ken format

License

Notifications You must be signed in to change notification settings

smeup/kokos-json-transformer

Repository files navigation

Kokos Json Transformer for Dart

Library for json conversion from kokos format to ken format.

Features

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.

Getting started

No prerequisite needed.

Usage

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

Additional information

About

Flutter library for json trasformation from Kokos format to Ken format

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages