## Example 1: This is a JSON object: ``` { "Image": { "Width": 800, "Height": 600, "Title": "View from 15th Floor", "Thumbnail": { "Url": "http://www.example.com/image/481989943", "Height": 125, "Width": 100 }, "Animated" : false, "IDs": [116, 943, 234, 38793] } } ``` ## Example 2: This is a JSON array containing two objects: ``` [ { "precision": "zip", "Latitude": 37.7668, "Longitude": -122.3959, "Address": "", "City": "SAN FRANCISCO", "State": "CA", "Zip": "94107", "Country": "US" }, { "precision": "zip", "Latitude": 37.371991, "Longitude": -122.026020, "Address": "", "City": "SUNNYVALE", "State": "CA", "Zip": "94085", "Country": "US" } ] ``` ## Example 3: YAML representation of example 1: ``` Image: Width: 800 Height: 600 Title: View from 15th Floor Thumbnail: Url: http://www.example.com/image/481989943 Height: 125 Width: 100 Animated: false IDs: - 116 - 943 - 234 - 38793 ``` ## Example 4: YAML representation of example 2: ``` - precision: zip Latitude: 37.7668 Longitude: -122.3959 Address: '' City: SAN FRANCISCO State: CA Zip: '94107' Country: US - precision: zip Latitude: 37.371991 Longitude: -122.02602 Address: '' City: SUNNYVALE State: CA Zip: '94085' Country: US ``` * [JSONの仕様(RFC8259)](https://tex2e.github.io/rfc-translater/html/rfc8259.html) * [YAML(YAML Ain’t Markup Language)の仕様](https://yaml.org/spec/1.2.2/)
2025/05/14
JSONとYAML
登録:
コメントの投稿 (Atom)
人気の投稿
-
## 作業前確認 [Amazon Linux 2023 リリースノート](https://docs.aws.amazon.com/ja_jp/linux/al2023/release-notes/relnotes.html) ### インスタンスのネットワーク設定 ``` ...
-
rfc793 TCP Header Format 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 ...
-
SEに必要なスキル スキル分類 主なスキル 技術 ・プラットフォーム ・プログラミング言語 ・データベース ・セキュリティ ・ネットワーク メソドロジ ・オブジェクト指向 ・コンサルティング手法 ・アーキテクチャデザイン ・モデリン...
-
--- ## 地理構成・リージョン設計 | AWS | Azure | 説明 | |-----|-------|------| | - | ジオ | Azure独自の地理的分類単位 | | リージョン | リージョン | データセンター群の配置単位 | | - | リージョ...
0 件のコメント:
コメントを投稿