গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > ইভেন্টস > সিলেক্টেড > টু জেসন
Events.Selected.toJson() পদ্ধতি
ইভেন্টটিকে JSON হিসাবে এনকোড করুন।
স্বাক্ষর:
toJson(): SelectedJson;
রিটার্ন:
নির্বাচিত জসন
JSON প্রতিনিধিত্ব।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-01-10 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `toJson()` method encodes a Blockly Events.Selected event as a JSON object."],["This method returns a `SelectedJson` object, representing the JSON structure of the event."],["The signature `toJson(): SelectedJson;` indicates it takes no parameters and returns a `SelectedJson` object."]]],["The `Events.Selected.toJson()` method encodes a selected event into a JSON format. This method, when called, returns a `SelectedJson` object, which represents the JSON version of the selected event. The JSON output serves as a structured representation of the event's data.\n"]]