Kotlin and TornadoFX

Kotlin and TornadoFX

Kotlin

As I have changed the JSON for configure the SmartCSV.fx from my own Schema to JSON Table Schema, I had to provide a converter for existing configurations.

I wanted to write less code than I typically do in Java and learn something new. Therefor I started a new project in Kotlin a programming language invented by JetBrains, the people behind the excellent IntelliJ IDEA IDE.

To make my life even easier, I use klaxon a JSON parser for Kotlin, which allows a very simple way to access JSON artefacts.

{  
  "headers": { "list": ["COLUMN 1","COLUMN 2","..."] }
}
val headers = root.

Read More

SmartCSV.fx version 0.9

SmartCSV.fx version 0.9

The newest version of SmartCSV.fx has some major changes.

Support of JSON Table Schema

With version 0.8 the application supports a subset of the JSON Table Schema defined by Open Knowledge International.

Dan Fowler draws my attention to the spec of JSON Table Schema.

@frosch95 Hi! Great work! Have you seen our spec for defining a schema in JSON for CSV data? specs.frictionlessdata.io/json-table-sch…

And I noticed that the most of my verification rules were the same as in the spec. So I decided to switch from my own JSON definition to the JSON Table Schema.

Read More