obj for casting to other common JSON types.Ĭonstructing JSON values using uJson is also simple, using the Js.* constructors. This is simply a property of working in a statically-typed language: it's effectively a cast to say "this JSON value is a String" to allow you to work with it as a String. using ("name") instead of for dictionary lookup), the only additional syntax here is the. With uJson, manipulating JSON should be just as simple and familiar regardless of what your programming background is: val data = ujson.read(input)Īpart from the minor syntactic differences from Python/Ruby/Javascript (e.g. In most languages, such as Python, Ruby or Javascript, it is trivial: Python import jsonĭata = data.split("").reverse().join("")Įach of the above examples is trivial even a beginner learning Python, Ruby or Javascript would have no problem understanding what each one is doing! A trivial code snippet is a fitting way of implementing a trivial task. to reverse the string, would seem like a trivial operation that should have a trivial solution. However, none of them achieve the heights of intuitiveness that someone coming from Python, Ruby or Javascript might expect working with JSON data types. playframework/playframework - Play Framework.Īpache/predictionio - PredictionIO, a machine learning server for developers and ML engineers.scala/scala - The Scala programming language.A curated list of awesome Scala frameworks, libraries and software.There are a lot of existing JSON libraries in Scala: Circe, Argonaut, Play-Json, and many others.yahoo/kafka-manager - A tool for managing Apache Kafka.gitbucket/gitbucket - A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility.twitter/finagle - A fault tolerant, protocol-agnostic RPC system.ornicar/lila - ♞ : the forever free, adless and open source chess server ♞.rtyley/bfg-repo-cleaner - Removes large or troublesome blobs like git-filter-branch does, but faster.fpinscala/fpinscala - Code, exercises, answers, and hints to go along with the book "Functional Programming in Scala".gatling/gatling - Async Scala-Akka-Netty based Load Test Tool.scalaz/scalaz - Principled Functional Programming in Scala.sbt/sbt - sbt, the interactive build tool.scala-js/scala-js - Scala.js, the Scala to JavaScript compiler.lampepfl/dotty - Research compiler that will become Scala 3.scala-native/scala-native - Your favorite language gets closer to bare metal.Scalanlp/breeze - Breeze is a numerical processing library for Scala.twitter/scalding - A Scala API for Cascading.intel-analytics/BigDL - BigDL: Distributed Deep Learning Library for Apache Spark.polynote/polynote - A better notebook for Scala (and more). Pocorall/scaloid - Scaloid makes your Android code easy to understand and maintain.slick/slick - Scala Language Integrated Connection Kit.lagom/lagom - Reactive Microservices for the JVM.twitter/util - Wonderful reusable code from Twitter.scalatra/scalatra - Tiny Scala high-performance, async web framework, inspired by Sinatra.spark-jobserver/spark-jobserver - REST job server for Apache Spark.spray/spray - A suite of scala libraries for building and consuming RESTful web services on top of Akka: lightweight, asynchronous, non-blocking, actor-based, testable.milessabin/shapeless - Generic programming for Scala. scala-exercises/scala-exercises - The easy way to learn Scala.twitter/finatra - Fast, testable, Scala services built on TwitterServer and Finagle.twitter/algebird - Abstract Algebra for Scala.zio/zio - ZIO - A type-safe, composable library for asynchronous and concurrent programming in Scala.circe/circe - Yet another JSON library for Scala.Azure/mmlspark - Microsoft Machine Learning for Apache Spark.salesforce/TransmogrifAI - TransmogrifAI (pronounced trăns-mŏgˈrə-fī) is an AutoML library for building modular, reusable, strongly typed machine learning workflows on Apache Spark with minimal hand-tuning.spotify/scio - A Scala API for Apache Beam and Google Cloud Dataflow.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |