並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 118件

新着順 人気順

serializationの検索結果1 - 40 件 / 118件

  • Fast JSON API serialization with Ruby on Rails

    by Shishir Kakaraddi, Srinivas Raghunathan, Adam Gross and Ryan Johnston We are pleased to announce the open source release of the Fast JSON API gem geared towards Ruby on Rails applications. Introduction Fast JSONAPI is aimed at providing all the major functionality that Active Model Serializer (AMS) provides, along with an emphasis on speed and performance by meeting a benchmark requirement of b

      Fast JSON API serialization with Ruby on Rails
    • SION, a data serialization format a little more expressive than JSON - Qiita

      [ "array" : [ nil, true, 1, // Int in decimal 1.0, // Double in decimal "one", [1], ["one" : 1.0] ], "bool" : true, "data" : .Data("R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"), "date" : .Date(0x0p+0), "dictionary" : [ "array" : [], "bool" : false, "double" : 0x0p+0, "int" : 0, "nil" : nil, "object" : [:], "string" : "" ], "double" : 0x1.518f5c28f5c29p+5, // Double in hexadecimal "in

        SION, a data serialization format a little more expressive than JSON - Qiita
      • BSON (Binary JSON) Serialization

        BSON, short for Bin­ary JSON, is a bin­ary-en­coded seri­al­iz­a­tion of JSON-like doc­u­ments. Like JSON, BSON sup­ports the em­bed­ding of doc­u­ments and ar­rays with­in oth­er doc­u­ments and ar­rays. BSON also con­tains ex­ten­sions that al­low rep­res­ent­a­tion of data types that are not part of the JSON spec. For ex­ample, BSON has a Date type and a BinData type. BSON can be com­pared to b

        • Starman と Starlet のベンチマークと Accept Serialization - Hateburo: kazeburo hatenablog

          StarmanとStarletの違いはいくつかありますが、Starletにいくつか手を加えたあと、速度はどうなっているのか比較してみた。 なお、以下の記事はHello Worldのベンチマークなので、実際のアプリケーションのパフォーマンスにはあまり影響がないと思われます。 各ソフトウェアのバージョンは以下。 Plack-1.0023 Starman-0.3008 Starlet-0.18 Starletのベンチマークとほぼ同じアプリケーションを書いてサーバを起動した use Plack::Builder; use Plack::Request; my $length = 12; my $body = 'x'x$length; builder { enable 'AccessLog', logger => sub { }; sub { my $env = shift; my $req = P

            Starman と Starlet のベンチマークと Accept Serialization - Hateburo: kazeburo hatenablog
          • 実験の再現性と効率化の話(Docker と Serialization 周辺)

            2016-07-04 ビッグデータ基盤勉強会での発表資料です.Kaggle Tokyo Meetup #1 の資料から主に Serialization の Blosc まわりの説明を加筆しています.

              実験の再現性と効率化の話(Docker と Serialization 周辺)
            • GitHub - google/flatbuffers: FlatBuffers: Memory Efficient Serialization Library

              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 - google/flatbuffers: FlatBuffers: Memory Efficient Serialization Library
              • boost::serializationの使い方

                boost::serializationを使う はじめに コンパイル 簡単な使い方 クラスのバージョン付け 読み込みと書き込みで別の動作を行う 「非侵入型」のシリアル化関数 基底クラスをシリアル化する 配列をシリアライズする constメンバはどうするか ポインタからのシリアライズ:その1 ポインタからのシリアライズ:その2 基底クラスへのポインタから復元する 実装レベル オブジェクトの追跡 抽象クラスでのエラー NVP ロケールの設定 はじめに boost C++ Libraries(以下単にboost)という非常に便利なライブラリがあります。 次期C++標準にこのライブラリのうちのいくつかが採用されるらしいという話もあり、 C++開発者にとっては無視して通れないライブラリです。 そんなboostの中に、serializationというライブラリがあります。 一言で言ってしまえば、「クラ

                • Workflow, Serialization &� Docker for Kaggle

                  Kohei's slide for Kaggle Tokyo Meetup #1. (written in Japanese)

                    Workflow, Serialization &� Docker for Kaggle
                  • boost::serializationの使い方

                    boost::serializationを使う はじめに コンパイル 簡単な使い方 クラスのバージョン付け 読み込みと書き込みで別の動作を行う 「非侵入型」のシリアル化関数 基底クラスをシリアル化する 配列をシリアライズする constメンバはどうするか ポインタからのシリアライズ:その1 ポインタからのシリアライズ:その2 基底クラスへのポインタから復元する 実装レベル オブジェクトの追跡 抽象クラスでのエラー NVP ロケールの設定 はじめに boost C++ Libraries(以下単にboost)という非常に便利なライブラリがあります。 次期C++標準にこのライブラリのうちのいくつかが採用されるらしいという話もあり、 C++開発者にとっては無視して通れないライブラリです。 そんなboostの中に、serializationというライブラリがあります。 一言で言ってしまえば、「クラ

                    • JSON Serialization Usage

                      JavaScript Object Notation (aka JSON) is a very popular alternative to XML for transmitting data to the web browser. Flexjson is a lightweight library for serializing and deserializing Java objects into and from JSON. What's different about Flexjson is it's control over what gets serialized allowing both deep and shallow copies of objects. Most JSON serializers mimic object serialization libraries

                      • GitHub - mikechambers/as3corelib: An ActionScript 3 Library that contains a number of classes and utilities for working with ActionScript? 3. These include classes for MD5 and SHA 1 hashing, Image encoders, and JSON serialization as well as general String

                        An ActionScript 3 Library that contains a number of classes and utilities for working with ActionScript? 3. These include classes for MD5 and SHA 1 hashing, Image encoders, and JSON serialization as well as general String, Number and Date APIs. Code is released under a BSD License: http://www.opensource.org/licenses/bsd-license.php Copyright (c) 2008, Adobe Systems Incorporated All rights reserved

                          GitHub - mikechambers/as3corelib: An ActionScript 3 Library that contains a number of classes and utilities for working with ActionScript? 3. These include classes for MD5 and SHA 1 hashing, Image encoders, and JSON serialization as well as general String
                        • GitHub - microsoft/bond: Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale s

                          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 - microsoft/bond: Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale s
                          • to_json (ActiveRecord::Serialization) - APIdock

                            Method deprecated or moved This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here. These similar methods exist in v7.1.3.2: ActiveSupport::ToJsonWithActiveSupportEncoder#to_json ActiveStorage::Filename#to_json Returns a JSON string representing the model. Some configuration is available through options. The option ActiveRecord::Base.includ

                            • BSON (Binary JSON) Serialization

                              BSON, short for Bin­ary JSON, is a bin­ary-en­coded seri­al­iz­a­tion of JSON-like doc­u­ments. Like JSON, BSON sup­ports the em­bed­ding of doc­u­ments and ar­rays with­in oth­er doc­u­ments and ar­rays. BSON also con­tains ex­ten­sions that al­low rep­res­ent­a­tion of data types that are not part of the JSON spec. For ex­ample, BSON has a Date type and a BinData type. BSON can be com­pared to b

                              • Serialization in java

                                Java provides mechanism called serialization to persists java objects in a form of ordered or sequence of bytes that includes the object’s data as well as information about the object’s type and the types of data stored in the object. So if we have serialize any object then it can be read and deserialize it using object’s type and other information so we can retrieve original object. Classes Objec

                                  Serialization in java
                                • ffjson: faster JSON serialization for Golang | Paul Querna

                                  ffjson is a project I have been hacking on for making JSON serialization faster in the Go programing language. ffjson works by generating static code for Go’s JSON serialization interfaces. Fast binary serialization frameworks like Cap’n Proto or Protobufs also use this approach of generating code. Because ffjson is serializing to JSON, it will never be as fast as some of these other tools, but it

                                  • MessagePack: Efficient, Cross Language Binary Object Serialization

                                    Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news. MessagePack GitHub repo is a new binary-based object serialization protocol and library built with efficiency and speed in mind. Developer Sadayuki Furuhashi presents it as a faster alternative to JSON that has similarly broad support across several popular languages. Serialization is the process of taking an object (such

                                    • GitHub - Netflix/ribbon: Ribbon is a Inter Process Communication (remote procedure calls) library with built in software load balancers. The primary usage model involves REST calls with various serialization scheme support.

                                      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 - Netflix/ribbon: Ribbon is a Inter Process Communication (remote procedure calls) library with built in software load balancers. The primary usage model involves REST calls with various serialization scheme support.
                                      • Data Serialization Comparison: JSON, YAML, BSON, MessagePack — SitePoint

                                        More or less, what you did there was to define a data structure; and you’ll do just fine if you only need this on a spreadsheet format. The problem is that, if you ever want to exchange this information with a database or a website, the mechanics by which these data structures are implemented on these other platforms — even if the underlying semantics are overall the same — will be dramatically di

                                          Data Serialization Comparison: JSON, YAML, BSON, MessagePack — SitePoint
                                        • 12.1. pickle — Python object serialization — Python v2.6.4 documentation

                                          pickle — Python object serialization¶ Source code: Lib/pickle.py The pickle module implements binary protocols for serializing and de-serializing a Python object structure. “Pickling” is the process whereby a Python object hierarchy is converted into a byte stream, and “unpickling” is the inverse operation, whereby a byte stream (from a binary file or bytes-like object) is converted back into an o

                                            12.1. pickle — Python object serialization — Python v2.6.4 documentation
                                          • FlatBuffers: a memory efficient serialization library

                                            Today, we are releasing FlatBuffers, a C++ serialization library that allows you to read data without unpacking or allocating additional memory, as an open source project. FlatBuffers stores serialized data in buffers in a cross-platform way, supporting format evolution that is fully forwards and backwards compatible through a schema. These buffers can be stored in files or sent across the network

                                              FlatBuffers: a memory efficient serialization library
                                            • GitHub - serde-rs/serde: Serialization framework for Rust

                                              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 - serde-rs/serde: Serialization framework for Rust
                                              • GitHub - arangodb/velocypack: A fast and compact format for serialization and storage

                                                These days, JSON (JavaScript Object Notation, see ECMA-404) is used in many cases where data has to be exchanged. Lots of protocols between different services use it, databases store JSON (document stores naturally, but others increasingly as well). It is popular, because it is simple, human-readable, and yet surprisingly versatile, despite its limitations. At the same time there is a plethora of

                                                  GitHub - arangodb/velocypack: A fast and compact format for serialization and storage
                                                • marshmallow: simplified object serialization — marshmallow 3.21.3 documentation

                                                  marshmallow: simplified object serialization¶ Release v3.21.3. (Changelog) marshmallow is an ORM/ODM/framework-agnostic library for converting complex datatypes, such as objects, to and from native Python datatypes. from datetime import date from pprint import pprint from marshmallow import Schema, fields class ArtistSchema(Schema): name = fields.Str() class AlbumSchema(Schema): title = fields.Str

                                                  • GitHub - bluelinelabs/LoganSquare: Screaming fast JSON parsing and serialization library for Android.

                                                    #LoganSquare The fastest JSON parsing and serializing library available for Android. Based on Jackson's streaming API, LoganSquare is able to consistently outperform GSON and Jackson's Databind library by 400% or more1. By relying on compile-time annotation processing to generate code, you know that your JSON will parse and serialize faster than any other method available. By using this library, y

                                                      GitHub - bluelinelabs/LoganSquare: Screaming fast JSON parsing and serialization library for Android.
                                                    • Boost.Serializationで遊んでみた - Faith and Brave - C++で遊ぼう

                                                      これ使うとXMLの扱いがとっても簡単になりますね 基本的にはシリアライズしたいクラスのメンバにserialize関数を追加するだけです ・テキスト出力 #include <fstream> #include <string> #include <boost/serialization/serialization.hpp> #include <boost/serialization/nvp.hpp> #include <boost/serialization/string.hpp> #include <boost/archive/text_oarchive.hpp> class Person { public: int age; std::string name; private: friend class boost::serialization::access; template <cl

                                                        Boost.Serializationで遊んでみた - Faith and Brave - C++で遊ぼう
                                                      • Better serialization, less as_json

                                                        # app/models/user.rb class User < ActiveRecord::Base has_secure_password has_many :posts end # app/models/post.rb class Post < ActiveRecord::Base belongs_to :user end # app/controllers/posts_controller.rb class PostsController < ApplicationController def show @post = Post.find(params[:id]) render json: @post.as_json( only: [:id, :content, :created_at], include: { user: { only: [:id, :username] } }

                                                          Better serialization, less as_json
                                                        • Comparison of data-serialization formats - Wikipedia

                                                          This is a comparison of data serialization formats, various ways to convert complex objects to sequences of bits. It does not include markup languages used exclusively as document file formats.

                                                          • GitHub - yoshiki/yaml-mode: The emacs major mode for editing files in the YAML data serialization format.

                                                            RECRUITMENTS I have not used emacs and this library for a long time, so I recruit maintainers or collaborators for all yaml-mode users. If you are interested in maintaining or collaborating with this library, please contact me. NAME yaml-mode - Simple major mode to edit YAML file for emacs REQUIREMENTS Emacs 24.1 SYNOPSIS To install, just drop this file into a directory in your `load-path' and (op

                                                              GitHub - yoshiki/yaml-mode: The emacs major mode for editing files in the YAML data serialization format.
                                                            • GitHub - pgriess/node-msgpack: A space-efficient object serialization library for NodeJS

                                                              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 - pgriess/node-msgpack: A space-efficient object serialization library for NodeJS
                                                              • GitHub - msgpack-rpc/msgpack-rpc: MessagePack-RPC is an inter-process messaging library that uses MessagePack for object serialization.

                                                                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 - msgpack-rpc/msgpack-rpc: MessagePack-RPC is an inter-process messaging library that uses MessagePack for object serialization.
                                                                • XmlSerializer クラス (System.Xml.Serialization)

                                                                  名前空間: System.Xml.Serialization アセンブリ:System.Xml.XmlSerializer.dll アセンブリ:System.Xml.dll アセンブリ:netstandard.dll ソース:XmlSerializer.cs ソース:XmlSerializer.cs ソース:XmlSerializer.cs 重要 一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。 例 次の例には、 と の 2 つのメイン クラスPurchaseOrderがTest含まれています。 クラスには PurchaseOrder 、1 回の購入に関する情報が含まれています。 Testクラスには、発注書を作成し、作成された発注書を読み取るメ

                                                                    XmlSerializer クラス (System.Xml.Serialization)
                                                                  • The Java serialization algorithm revealed

                                                                    Serialization is the process of saving an object's state to a sequence of bytes; deserialization is the process of rebuilding those bytes into a live object. The Java Serialization API provides a standard mechanism for developers to handle object serialization. In this tip, you will see how to serialize an object, and why serialization is sometimes necessary. You'll learn about the serialization a

                                                                      The Java serialization algorithm revealed
                                                                    • GitHub - typestack/class-transformer: Decorator-based transformation, serialization, and deserialization between objects and classes.

                                                                      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 - typestack/class-transformer: Decorator-based transformation, serialization, and deserialization between objects and classes.
                                                                      • 11.1. pickle — Python object serialization — Python 2.7.18 documentation

                                                                        This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release. 11.1. pickle — Python object serialization¶ The pickle module implements a fundamental, but powerful algorithm for serializing and de-serializing a Python object structure. “Pickling” is the process whereby a Python object hierarchy is conv

                                                                        • safer serialization of simple python types, part two « Python recipes « ActiveState Code

                                                                          safer serialization of simple python types, part two (Python recipe) by S W This recipe is a reimplemtation of this recipe, http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/415503 using Python 2.4 decorator syntax. It also has added support for boolean and unicode types, and a keyword argument (compress=False) for the dumps function, which will compress the string. 1 2 3 4 5 6 7 8 9 10 11 1

                                                                          • Jetpack DataStoreをProtobufではなくKotlin Serializationで使用する

                                                                            はじめに この記事は、Android Advent Calendar 2020の15日目の記事です。 本記事では、AndroidX DataStoreを、Protocol Buffersを利用せず、Kotlin Serializationと組み合わせ使う方法を紹介します。 Google公式の紹介記事 (2020-04-20 追記) DataStoreをKotlin Serializationと組み合わせて使う方法について、Android Developersの以下の記事でも紹介されています。 Using DataStore With Kotlin Serialization 日本語版: Android Developers Japan Blog: DataStore と Kotlin のシリアル化を併用する 要約 AndroidX Proto DataStoreは、必ずしもProtocol

                                                                              Jetpack DataStoreをProtobufではなくKotlin Serializationで使用する
                                                                            • GitHub - novus/salat: NOTE: This repo (Salat, simple serialization library for case classes) has moved: https://github.com/salat/salat

                                                                              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 - novus/salat: NOTE: This repo (Salat, simple serialization library for case classes) has moved: https://github.com/salat/salat
                                                                              • Kotlin Multiplatform環境でKotlin SerializationとAndroid ExtensionsのParcelize Annotationを使う - AAbrain

                                                                                December 22, 2018Kotlin Multiplatform環境でKotlin SerializationとAndroid ExtensionsのParcelize Annotationを使う この記事は2018年Kotlin Advent Calendar の22日目の記事です。 今年はAdvent Calendarに空きがあったので、代打で既に書いた記事があるので興味のある方は見てみて下さい Kotlin Multiplatform構想 ~今やる理由編~Kotlin Multiplatform構想 ~今やる設計編~この2つは概念的な内容ですが、この記事は実践的な内容となっていて、どちらかというとTipsです。ただ、gradleの構成等は参考になるのではないかなと思います。 はじめにクライアントアプリで利用されるSerializerにはKotlin Serializatio

                                                                                  Kotlin Multiplatform環境でKotlin SerializationとAndroid ExtensionsのParcelize Annotationを使う - AAbrain
                                                                                • DataTable JSON Serialization in JSON.NET and JavaScriptSerializer

                                                                                  I've been thinking about replacing the JSON serializer in my internal codebase for some time and finally put a little effort into allowing JSON.NET from James Newton King to be plugged into my Ajax framework as a replaceable engine. My own parser has served me well, but JSON.NET is a much cleaner design and more flexible especially when dealing with extensibility. There are also a few nice feature