調査アンケート: Blockly のご利用体験についてお聞かせください
アンケートを開始
blockly > fieldRegistry > RegistrableField > fromJson
fieldRegistry.RegistrableField.fromJson() メソッド
署名:
fromJson(options: FieldConfig): Field;
パラメータ
戻り値:
フィールド
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-09 UTC。
[null,null,["最終更新日 2024-11-09 UTC。"],[[["The `fieldRegistry.RegistrableField.fromJson()` method is used to create a Field instance from a FieldConfig object."],["It accepts a single parameter: `options` of type FieldConfig, which contains the configuration data for the field."],["The method returns a Field object, which is the instantiated field based on the provided configuration."]]],["The `fromJson` method, part of the `RegistrableField` interface, accepts a `FieldConfig` object as input. This `options` parameter is used to configure the field. The method's primary function is to return a `Field` object, effectively creating a field based on the provided configuration.\n"]]