serializer

toJSON メソッド (JavaScript)

[7] toJSON メソッドは、 JSON に変換可能な JavaScriptオブジェクトを得るものです。色々な JavaScriptオブジェクトに定義されています。

インターフェイス

[32] toJSON を持つインターフェイス

歴史

Web IDL serializer

[1] Merge pull request #58 from nox/fix-serializer-rule · heycam/webidl@ccc69c9 ( 版) https://github.com/heycam/webidl/commit/ccc69c93ccd9b1d70800319d445499e3127dffad

[2] [geometry] Add JSON serializers · w3c/fxtf-drafts@75c3961 ( 版) https://github.com/w3c/fxtf-drafts/commit/75c3961700dcd8c8dde1d4fa16dba3fd1b717e17

[3] [geometry] Include all attributes in DOMMatrixReadOnly JSON serializa… · w3c/fxtf-drafts@7b5664a ( 版) https://github.com/w3c/fxtf-drafts/commit/7b5664a99dff3a3c3afd5085c65fea7ad7791d9c

[15] 27428 – [ArrayClass] should serialize as an array by default () https://www.w3.org/Bugs/Public/show_bug.cgi?id=27428

[10] Consider simplifying serializers · Issue #188 · heycam/webidl () https://github.com/heycam/webidl/issues/188

[11] Serialized value should allow any string type · Issue #259 · heycam/webidl () https://github.com/heycam/webidl/issues/259

[14] Serializable types should include unrestricted double and unrestricted float · Issue #370 · heycam/webidl () https://github.com/heycam/webidl/issues/370

[12] Allowing something to be the serializer and stringifier · Issue #260 · heycam/webidl () https://github.com/heycam/webidl/issues/260

[13] Serializable types should include records · Issue #262 · heycam/webidl () https://github.com/heycam/webidl/issues/262

[8] Replace serializers by toJSON and [Default] extended attribute (#323) (tobie著, ) https://github.com/heycam/webidl/commit/a505f332dbc3d619d540b87983ec85df7f0877b1

[9] Replace serializers by toJSON and [Default] extended attribute by tobie · Pull Request #323 · heycam/webidl () https://github.com/heycam/webidl/pull/323

Web IDL toJSON

[4] Drop toJSON as reserved identifier (#293) (annevk著, ) https://github.com/heycam/webidl/commit/c1ff4b291a27c212eee976c7b9f76263ce93e438

[5] Define URL's toJSON() (annevk著, ) https://github.com/whatwg/url/commit/7dcfe5b5d766fd092b8ce09b6ab47ab2cb2a13f5

[6] When cloning a JS Object, look for `toJSON` (shs96c著, ) https://github.com/w3c/webdriver/commit/1ee4c61c11004f38bb3db0fb6a1d740e185a2196

[16] Merge pull request #114 from marcoscaceres/toJSON (igrigorik著, ) https://github.com/w3c/resource-timing/commit/95021bab1be8a983e58f7059a8653c64272b0e32

[17] WebIDL serializer has been deprecated in favor of toJSON operation · Issue #112 · w3c/resource-timing () https://github.com/w3c/resource-timing/issues/112

[18] fix: define toJSON (closes #112) by marcoscaceres · Pull Request #114 · w3c/resource-timing () https://github.com/w3c/resource-timing/pull/114

[19] Merge pull request #1449 from w3c/tojson (aboba著, ) https://github.com/w3c/webrtc-pc/commit/d37c684955efcc6beca7e86ce8de7c3b1c1b89d2

[20] Replace serializers by toJSON definitions by dontcallmedom · Pull Request #1449 · w3c/webrtc-pc () https://github.com/w3c/webrtc-pc/pull/1449

[21] define toJSON serializer (igrigorik著, ) https://github.com/w3c/performance-timeline/commit/ec048276cb7656a8131aca7307e183da4a8957b4

[22] WebIDL serializer has been deprecated in favor of toJSON operation · Issue #82 · w3c/performance-timeline () https://github.com/w3c/performance-timeline/issues/82

[23] define toJSON serializer (igrigorik著, ) https://github.com/w3c/hr-time/commit/7d8d194259e2c321f945b7ac7dfd3393c5c20b41

[24] WebIDL serializer has been deprecated in favor of toJSON operation · Issue #49 · w3c/hr-time () https://github.com/w3c/hr-time/issues/49

[25] Editorial: Manually add default toJSON description (remove when autom… (adam-be著, ) https://github.com/w3c/webrtc-pc/commit/4b744d7ef5c75ce5a2cf01d615c6e128774c0142

[26] Merge pull request #474 from w3c/tojson (adam-be著, ) https://github.com/w3c/mediacapture-main/commit/433e36d55b4c33974ff8534770df4753b04367a2

[27] Add [Exposed=Window] and use toJSON (plehegar著, ) https://github.com/w3c/navigation-timing/commit/906cbdad95aa79e0e41279dddd0c766b26134c08

[28] Add support for interface mixins (tobie著, ) https://github.com/heycam/webidl/commit/45e8173d40ddff8dcf81697326e094bcf8b92920

[29] Merge pull request #1960 from stefhak/defaulttojson (alvestrand著, ) https://github.com/w3c/webrtc-pc/commit/1df02bb1bc98ad1e199bb35c93cb5b9dc01704a9

[30] Changed to use respec's [Default] definition of toJSON. by stefhak · Pull Request #1960 · w3c/webrtc-pc () https://github.com/w3c/webrtc-pc/pull/1960

[31] Use automatically generated default toJSON() method (when available) · Issue #1546 · w3c/webrtc-pc () https://github.com/w3c/webrtc-pc/issues/1546