Skip to content

Commit

Permalink
GitBook: [master] 3 pages modified
Browse files Browse the repository at this point in the history
  • Loading branch information
yemreak authored and gitbook-bot committed Dec 29, 2019
1 parent d33dac6 commit c4d7838
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 4 deletions.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* [🗨 AlertDialog](gui/alertdialog.md)
* [👨‍💼 Verilerin Yönetimi](veriler/README.md)
* [🔸 Veri Saklama Yöntemleri](veriler/veri-saklama-yoentemleri.md)
* [📜 JSON Yönetimi](veriler/json-yoenetimi.md)
* [📂 Dosya İşlemleri](veriler/dosya-islemleri.md)
* [👐 Shared Preferences](veriler/shared-preferences.md)
* [🗃️ SQLite](veriler/sqlite.md)
Expand Down
40 changes: 40 additions & 0 deletions veriler/json-yoenetimi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
description: JSON verilerini ayrıştırma ve parsing işlemi
---

# 📜 JSON Yönetimi

## 🔰 Nedir?

* 🌍 Web sayfalarında saklanan veri formatıdır
* 👁️ JavaScript Object Notation

## ⭐ Örnek JSON Verisi

```yaml
{"menu": {
"id": "file",
"value": "File",
"popup": {
"menuitem": [
{"value": "New", "onclick": "CreateNewDoc()"},
{"value": "Open", "onclick": "OpenDoc()"},
{"value": "Close", "onclick": "CloseDoc()"}
]
}
}
```

## 🪁 Ayrıştırma İşlemi

```java
JSONObject data = new JSONObject(responseString);
JSONArray menuItemArray = data.getJSONArray("menuitem");
JSONObject thirdItem = menuItemArray.getJSONObject(2);
String onClick = thirdItem.getString("onclick");
```

## 🔗 Faydalı Bağlantılar

{% embed url="https://stackoverflow.com/a/9606629/9770490" %}

4 changes: 0 additions & 4 deletions veriler/veri-saklama-yoentemleri.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ description: Android üzerinde verileri kaydetme
‍🧙‍♂ Detaylı bilgi için [Pros and Cons of SQL and Shared Preferences](https://stackoverflow.com/a/6276936/9770490) alanına bakabilirsin.
{% endhint %}

## 📜 JSON Verilerini İşleme

{% embed url="https://stackoverflow.com/a/9606629/9770490" %}

## 🔗 Faydalı Bağlantılar

{% embed url="https://google-developer-training.github.io/android-developer-fundamentals-course-concepts-v2/unit-4-saving-user-data/lesson-9-preferences-and-settings/9-0-c-data-storage/9-0-c-data-storage.html" %}
Expand Down

0 comments on commit c4d7838

Please sign in to comment.