Skip to content

Instantly share code, notes, and snippets.

@d108
Created June 8, 2019 23:22
Show Gist options
  • Save d108/7ecbab7c04ebde117677a5bfaaa477e6 to your computer and use it in GitHub Desktop.
Save d108/7ecbab7c04ebde117677a5bfaaa477e6 to your computer and use it in GitHub Desktop.
val parsed = klx.parseJsonObject(StringReader(f))
val timeSeries = parsed.filter {
it.key == dataKey
}.map {
it.value as JsonObject
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment