並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 15 件 / 15件

新着順 人気順

Serializerの検索結果1 - 15 件 / 15件

タグ検索の該当結果が少ないため、タイトル検索結果を表示しています。

Serializerに関するエントリは15件あります。 rubyrailslibrary などが関連タグです。 人気エントリには 『Rails JSON APIとサービス高速化 / JSON Serializer 2020』などがあります。
  • Rails JSON APIとサービス高速化 / JSON Serializer 2020

    「リードエンジニアから学ぶMedPeerのプロダクト開発」 https://medpeer.connpass.com/event/181835/

      Rails JSON APIとサービス高速化 / JSON Serializer 2020
    • 5分で分かる! PHP での Hydrator, Mapper, Serializer, Marshalという用語

      この記事は筆者が調べ直してないものなので正確性に欠ける場合があります。 Hydratorパターン, hydrate メソッド PHP に限らず Hydrator, Hydration, hydrate という概念があります。 The Hydrator pattern is a variation of the Data Transfer Object design pattern https://www.oreilly.com/library/view/php-7-programming/9781785883446/ch11s02.html ※ 私は2022年の今日、オライリーにこんな解説があるのを知りました。。 これは用語としては、PHPにおいては Doctrine 2 が Java の hibernateを参照して作られたことから、用語として拝借したもので間違いないと思います。 Doc

        5分で分かる! PHP での Hydrator, Mapper, Serializer, Marshalという用語
      • [Django REST Framework] Serializer の 使い方 をまとめてみた

        DjangoRESTFramework (以降 DRF という) を最近良く使っているのですが 設定項目が多すぎて情報探すのに時間がかかっちゃうので、自分なりにまとめてみました。 2月の後半くらいに書いてたんですが、ブログの改修に時間がかかりすぎて公開が遅れたのは内緒。 個人的な感覚ですが、このライブラリの機能を大きく分けると Serializer, View に分かれます。 本当は全部通しで書きたかったんですが、長くなりすぎたので View の部分は別の記事に分割します。 infoビュー については View の使い方をまとめてみた を参照してください。初めて触る方は 先にビュー編を見ることをオススメします。 シリアライザ単体で使うことはまずないと思うので。この記事の先頭に書いてあったインストールの手順とかはそちらの記事に移動しました基本的に情報は v3.7.7 時点の 公式ドキュメント

        • GitHub - okuramasafumi/alba: Alba is a JSON serializer for Ruby, JRuby and TruffleRuby.

          You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

            GitHub - okuramasafumi/alba: Alba is a JSON serializer for Ruby, JRuby and TruffleRuby.
          • GitHub - nrdobie/superjson: JSON serializer with support for custom Classes and more JavaScript built-in objects.

            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

              GitHub - nrdobie/superjson: JSON serializer with support for custom Classes and more JavaScript built-in objects.
            • GitHub - gajus/liqe: Lightweight and performant Lucene-like parser, serializer and search engine.

              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

                GitHub - gajus/liqe: Lightweight and performant Lucene-like parser, serializer and search engine.
              • Active Model Serializer をざっくり使ってみた - Qiita

                はじめに Railsのプロジェクトで一部json形式でデータをレスポンスを返す必要があった時、インスタンス変数をメソッドで無理やりjsonにして関連付けレコードはmergeで無理やり連結、といった力技でコードを書いていました。 しかし、Active Model Serializerというgemを使えば簡単にjsonデータを整形できるとのことだったので試してみました。 環境 ruby '2.5.1' rails '5.2.4.1' active_model_serializers '0.10.10' 使用するモデル、アソシエーション class Project < ApplicationRecord has_many :jobs, dependent: :destroy has_many :project_categories, dependent: :destroy has_many :c

                  Active Model Serializer をざっくり使ってみた - Qiita
                • Shale - Ruby object mapper and serializer for XML, JSON, TOML and YAML

                  # Shale Shale is a Ruby object mapper and serializer for JSON, YAML, TOML, CSV and XML. It allows you to parse JSON, YAML, TOML, CSV and XML data and convert it into Ruby data structures, as well as serialize data structures into JSON, YAML, TOML, CSV or XML. # Introduction Working with data serialization formats directly can be painfull. This is especially true for XML. Let's consider this simple

                  • [Delphi] JSON の処理は Serializer を使うのがナウい - Qiita

                    サーバー・クライアント間でデータをやり取りするフォーマットとして XML と JSON が有名所だと思います。 それぞれのフォーマットについて詳しい所はググればいくらでも出てくるので、ここでは述べません。 ただ、XML に比べて JSON が勝っているところを上げておくと… XML よりサイズが小さくなる場合が多い Delphi RTL や .NET といった一部のフレームワークには JSON Serializer が用意されている ということです。 最近、僕が自分でフォーマットを決められる場合は、ほぼ必ず JSON を指定しています。 なぜなら JSON Serializer が便利すぎるから! …で、さっきはググればいくらでも出てくるから述べないと書きましたが、JSON Serializer も同じで色々引っかかります。 では、何故書くのかというと、Qiita には、Delphi の

                      [Delphi] JSON の処理は Serializer を使うのがナウい - Qiita
                    • GitHub - TeamSirenix/odin-serializer: Fast, robust, powerful and extendible .NET serializer built for Unity

                      You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                        GitHub - TeamSirenix/odin-serializer: Fast, robust, powerful and extendible .NET serializer built for Unity
                      • GitHub - kgiszczak/shale: Shale is a Ruby object mapper and serializer for JSON, YAML, TOML, CSV and XML. It allows you to parse JSON, YAML, TOML, CSV and XML data and convert it into Ruby data structures, as well as serialize data structures into JSON, Y

                        You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                          GitHub - kgiszczak/shale: Shale is a Ruby object mapper and serializer for JSON, YAML, TOML, CSV and XML. It allows you to parse JSON, YAML, TOML, CSV and XML data and convert it into Ruby data structures, as well as serialize data structures into JSON, Y
                        • GitHub - GillianPerard/typescript-json-serializer: A typescript library to deserialize json into typescript classes and serialize classes into json.

                          // Import decorators from library import { JsonObject, JsonProperty } from 'typescript-json-serializer'; // Enums export enum Gender { Female, Male, Other } export enum Status { Alive = 'Alive', Sick = 'Sick', DeadAndAlive = 'Dead and alive', Dead = 'Dead' } // Create a JsonObject class: LivingBeing // JsonObject decorator @JsonObject() export class LivingBeing { /** The living being id (PK) */ @J

                            GitHub - GillianPerard/typescript-json-serializer: A typescript library to deserialize json into typescript classes and serialize classes into json.
                          • GitHub - beda-software/drf-writable-nested: Writable nested model serializer for Django REST Framework

                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                              GitHub - beda-software/drf-writable-nested: Writable nested model serializer for Django REST Framework
                            • GitHub - jsonapi-serializer/jsonapi-serializer: A fast JSON:API serializer for Ruby (fork of Netflix/fast_jsonapi)

                              You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                GitHub - jsonapi-serializer/jsonapi-serializer: A fast JSON:API serializer for Ruby (fork of Netflix/fast_jsonapi)
                              • GitHub - Instagram/LibCST: A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree

                                A Concrete Syntax Tree (CST) parser and serializer library for Python LibCST parses Python 3.0 -> 3.12 source code as a CST tree that keeps all formatting details (comments, whitespaces, parentheses, etc). It's useful for building automated refactoring (codemod) applications and linters. LibCST creates a compromise between an Abstract Syntax Tree (AST) and a traditional Concrete Syntax Tree (CST).

                                  GitHub - Instagram/LibCST: A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree
                                1

                                新着記事