0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

そもそもJSONファイルってなんぞや : AzureやAWSのコードを理解するための第一歩

0
Last updated at Posted at 2019-12-03

きっかけ

AzureやAWS初心者の筆者が送る体験談
EC2インスタンスをGUIでポチポチ作成していたが、コードで書いてみたくなった
しかし、JSONファイルなるものを理解しなければ、このコードを読み解くのも困難であろう…
リファレンスを参照すると何となく「ここを変更すればいいんだなー」って思うものの、気合入れて読まなきゃいけない現状・・・

というわけで、JSONファイルって何ぞやと思い調べてみました

参考文献

JSON の紹介
https://www.json.org/json-ja.html

JSON入門
http://www.tohoho-web.com/ex/json.html

JSONとは

JavaScript Object Notation(正式名称)
データを交換するフォーマット
KeyとValueがセットになっている(KVSと呼ばれる)
配列のしくみを利用する

文法

1データを交換するフォーマット

{
・・・・・・
}

2KeyとValue(KVS)

{
Key : Value
}

文字列は「" "」(ダブルクォーテーション)
数値はそのまま
階層構造を持てる

3配列のしくみ

{
Key : [・・・配列・・・]
}

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?