presented at Go Conference 2018 Spring https://gocon.connpass.com/event/82515/ grapi: https://github.com/izumin5210/grapi grpc-gateway: https://github.com/grpc-ecosystem/grpc-gateway
本記事では、ElmのコアライブラリにおけるJSONデコードパッケージJson.Decodeを用いて、9個以上のフィールドをもつオブジェクトのデコード方法について説明する。 2015 08 31追記あり(andMapを使用する) その前に その前にJson.Decodeを簡単に説明する。 Json.Decodeは、JSONのデコード処理をするためのコアライブラリの一つである。Elm 0.14以前のものとは完全に置き換られている*1。 Jsonデコード処理の概要 一般形式としては、 decodeString : Decoder a -> String -> Result String a decodeString <デコーダ> <JSON文字列> = ... である。decodeStringは、第二引数<JSON文字列>をJSON文字列としてパースし、<デコーダ>で指定した型のデコード結果を返
The InfoQ Trends Reports 2023 eMag The InfoQ trends reports provide a snapshot of emerging software technology and ideas. We create the reports and accompanying graphs to aid software engineers and architects in evaluating what trends may help them design and build better software. Our editorial teams also use them to help focus our content on innovator and early adopter trends.
2014-06-08 tqkey-groovyとgradle-groovy-android-plugin Groovy 2.4でAndroidのサポートが始まったので、練習がてら卓球ハウスの在宅APIを閲覧できるアプリを作りました。 ソースコードはGitHubに公開しています。 https://github.com/hotchemi/tqkey-groovy Groovyで書いてみてどうか Jsonの扱いが楽 基本的にGroovyで書けるのは便利で、例えばAndroidでjsonをパースする時はJavaだとJsonObjectを使って手動パースしたり、あるいはGsonとかJacksonを使う事が多いと思いますが、GroovyはJsonの読み書きをネイティブサポートしているので、例えばこんな感じで柔軟に処理する事ができます。ただ、JsonSlurper#parseTextのreturnはOb
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く