mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-01-17 13:38:38 +01:00
[xml/id] Translated JSON to Indonesian (json-id)
This commit is contained in:
parent
dd2d3a28d9
commit
a9e29ee5e3
60
id-id/json-id.html.markdown
Normal file
60
id-id/json-id.html.markdown
Normal file
@ -0,0 +1,60 @@
|
||||
---
|
||||
language: json
|
||||
filename: learnjson.json
|
||||
contributors:
|
||||
- ["Anna Harren", "https://github.com/iirelu"]
|
||||
- ["Marco Scannadinari", "https://github.com/marcoms"]
|
||||
translators
|
||||
- ["Rizky Luthfianto", "https://github.com/rilut"]
|
||||
---
|
||||
|
||||
JSON adalah format pertukaran data yang sangat simpel, kemungkinan besar,
|
||||
ini adalah "Learn X in Y Minutes" yang paling singkat.
|
||||
|
||||
Murninya, JSON tidak mempunyai fitur komentar, tapi kebanyakan parser akan
|
||||
menerima komentar bergaya bahasa C (`//`, `/* */`). Namun, pada halaman ini,
|
||||
hanya dicontohkan JSON yang 100% valid.
|
||||
|
||||
```json
|
||||
{
|
||||
"kunci": "nilai",
|
||||
|
||||
"kunci": "harus selalu diapit tanda kutip",
|
||||
"angka": 0,
|
||||
"strings": "Halø, dunia. Semua karaktor unicode diperbolehkan, terumasuk \"escaping\".",
|
||||
"punya tipe data boolean?": true,
|
||||
"nilai kosong": null,
|
||||
|
||||
"angka besar": 1.2e+100,
|
||||
|
||||
"obyek": {
|
||||
"komentar": "Most of your structure will come from objects.",
|
||||
|
||||
"array": [0, 1, 2, 3, "Array bisa berisi apapun.", 5],
|
||||
|
||||
"obyek lainnya": {
|
||||
"komentar": "Obyek-obyek JSON dapat dibuat bersarang, sangat berguna."
|
||||
}
|
||||
},
|
||||
|
||||
"iseng-iseng": [
|
||||
{
|
||||
"sumber potassium": ["pisang"]
|
||||
},
|
||||
[
|
||||
[1, 0, 0, 0],
|
||||
[0, 1, 0, 0],
|
||||
[0, 0, 1, "neo"],
|
||||
[0, 0, 0, 1]
|
||||
]
|
||||
],
|
||||
|
||||
"gaya alternatif": {
|
||||
"komentar": "lihat ini!"
|
||||
, "posisi tanda koma": "tak masalah. selama sebelum nilai berikutnya, valid-valid saja"
|
||||
, "komentar lainnya": "betapa asyiknya"
|
||||
},
|
||||
|
||||
"singkat": "Dan Anda selesai! Sekarang Anda tahu apa saja yang disediakan oleh JSON."
|
||||
}
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user