Switch to Bing in English
Copilot
Your everyday AI companion
About 345,000 results
  1. JavaScript Object Notation (JSON) は、構造化データを表現するための標準のテキストベースの形式で、 JavaScript のオブジェクト構文に基づいています。ウェブアプリケーションでデータを転送する場合によく使われます(例えば、複数のデータをサーバーからクライアントへ送信して、ウェブページ上に表示する場合などで、その逆もあります)。頻繁に見かけるデータ形式ですので、この記事では JavaScript を使用して JSON を扱うのに必要なすべてのこと、例えば JSON を解釈してその中のデータにアクセスしたり、 JSON を作成したりする方法を説明します。

    JSON とは何か

    JSON は JavaScript オブジェクトの構文に従ったテキストベースのデータ形式で、Douglas Crockford によって普及されました。JSON は JavaScript オブジェクトの構文に似ていますが、 JavaScript とは独立して扱われることがあり、多くのプログラミング言語環境には JSON を読み取ったり(解釈したり)生成したりする機能があります。

    JSON は文字列として存在します。ですので、ネットワークを通してデータを転送したい場合に便利です。 JSO...

    Content Under CC-BY-SA license
    Was this helpful?
  2. See more
    See more
    See all on Wikipedia
    See more

    JavaScript Object Notation - Wikipedia

    JavaScript Object Notation(JSON、ジェイソン)はデータ記述言語の1つである。軽量なテキストベースのデータ交換用フォーマットでありプログラミング言語を問わず利用できる 。名称と構文はJavaScriptにおけるオブジェクトの表記法に由来する。 See more

    JSONはウェブブラウザなどでよく使われているECMA-262, revision 3準拠のJavaScript (ECMAScript) をベースとしている。2006年7月RFC 4627で仕様が規定され、その後、何度か改定され、2017年 See more

    JSONで表現するデータ型は以下の通りで、これらを組み合わせてデータを記述する 。true, false, null などは全て小文字でなくてはならない。 See more

    JSONは多くのプログラミング言語で利用可能なライブラリーなどが提供されている。例えば、ActionScript, C, C++, C#, ColdFusion, Common Lisp, Curl, D, Delphi, E, See more

    1行を1つのJSONとする改行区切りのJSONが複数の人によって提案されている。仕様は同一である。改行コードは \n を使わなければならな … See more

    Overview image

    AjaxにおいてXMLHttpRequestで非同期にJSONでのデータを受け取る例を示す:
    古典的な例
    新しい記法を利用した例
    ここでいずれも、http_request はXMLHttpRequestオブジェクトであり、それを url にアクセス … See more

    JSONPath は JSON のクエリ式で、JSON の一部分を示すことが出来る。XMLXPath に対応するものとして Stefan Gössner が2007年 … See more

    ECMAScript 5.1 に基づき、人間にとってより読み書きしやすい JSON5 が提案されている。コメントを書けたり、オブジェクトのキーは " が不要 … See more

    Wikipedia text under CC-BY-SA license
    Feedback
  3. JSON の操作 - ウェブ開発を学ぶ | MDN - MDN Web …

    WebJavaScript Object Notation (JSON) は、構造化データを表現するための標準のテキストベースの形式で、 JavaScript のオブジェクト構文に基づいています。 ウェブアプリケーションでデータを転送する場合によく使われます(例えば、複数のデータをサーバーからクライアントへ送信して、 …

  4. People also ask
    Luckily, there’s no need to write the code to handle all this. The task has been solved already. The JSON (JavaScript Object Notation) is a general format to represent values and objects. It is described as in RFC 4627 standard. Initially it was made for JavaScript, but many other languages have libraries to handle it as well.
    JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data in web applications (e.g., sending some data from the server to the client, so it can be displayed on a web page, or vice versa).
    The JSON syntax is derived from JavaScript object notation, but the JSON format is text only. Code for reading and generating JSON exists in many programming languages. The JSON format was originally specified by Douglas Crockford. Why Use JSON? The JSON format is syntactically similar to the code for creating JavaScript objects.
    Because of this, a JavaScript program can easily convert JSON data into JavaScript objects. Since the format is text only, JSON data can easily be sent between computers, and used by any programming language. JavaScript has a built in function for converting JSON strings into JavaScript objects:
  5. Working with JSON - Learn web development | MDN

    WebJan 1, 2024 · JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data in web applications (e.g., sending some data from

  6. JSON

  7. JSON - Wikipedia

  8. JSON - JavaScript | MDN - MDN Web Docs

  9. JSON Introduction - W3Schools

    WebThe JSON syntax is derived from JavaScript object notation, but the JSON format is text only. Code for reading and generating JSON exists in many programming languages. The JSON format was originally specified by Douglas Crockford .

  10. JSON methods, toJSON - The Modern JavaScript Tutorial

  11. What is JSON and what is it used for? - Stack Overflow

  12. A beginner's guide to JSON, the data format for the internet

  13. Some results have been removed
By using this site you agree to the use of cookies for analytics, personalized content, and ads.Learn more about third party cookies|Microsoft Privacy Policy