summaryrefslogtreecommitdiffhomepage
path: root/ro-ro/json-ro.html.markdown
diff options
context:
space:
mode:
authorLidenburg <richard.lindberg1997@gmail.com>2016-03-15 18:56:44 +0100
committerLidenburg <richard.lindberg1997@gmail.com>2016-03-15 18:56:44 +0100
commitce5183bd3d38094401ec37b691fb11c08ec3a07f (patch)
tree6227674189be0b6ae719f956c800de98daa4b283 /ro-ro/json-ro.html.markdown
parentc38933a4d187bb2f7a13b1716e9c6d884b390e89 (diff)
parent2095ad9cf5f3243296be5a7232dc52ae03603f49 (diff)
Merge remote-tracking branch 'refs/remotes/adambard/master'
Diffstat (limited to 'ro-ro/json-ro.html.markdown')
-rw-r--r--ro-ro/json-ro.html.markdown61
1 files changed, 61 insertions, 0 deletions
diff --git a/ro-ro/json-ro.html.markdown b/ro-ro/json-ro.html.markdown
new file mode 100644
index 00000000..e897059c
--- /dev/null
+++ b/ro-ro/json-ro.html.markdown
@@ -0,0 +1,61 @@
+---
+language: json
+filename: learnjson-ro.json
+contributors:
+ - ["Anna Harren", "https://github.com/iirelu"]
+ - ["Marco Scannadinari", "https://github.com/marcoms"]
+translators:
+ - ["Serban Constantin", "https://github.com/fuzzmz"]
+lang: ro-ro
+---
+
+Deoarece JSON este un fromat foarte simplu de schimb de date acesta va fi
+probabil cel mai simplu Invata X in Y minute.
+
+JSON in forma cea mai pura nu contine comentarii insa majoritatea parserelor
+vor accepta comentarii in stil C (`//`, `/* */`). Pentru acest caz insa totul
+va fi JSON 100% valid. Din fericire codul vorbeste de la sine.
+
+```json
+{
+ "cheie": "valoare",
+
+ "chei": "trebuie mereu inconjurate de ghilimele",
+ "numere": 0,
+ "stringuri": "BunĂ£. Tot setul unicode este permis, chiar si \"escaping\".",
+ "are booleane?": true,
+ "nimic": null,
+
+ "numere mari": 1.2e+100,
+
+ "obiecte": {
+ "comentariu": "Majoritatea structurii va veni din obiecte.",
+
+ "vectori": [0, 1, 2, 3, "Vectorii pot avea orice in ei.", 5],
+
+ "alt obiect": {
+ "comentariu": "Lucrurile pot fi subordonate. Foarte util."
+ }
+ },
+
+ "glumite": [
+ {
+ "surse de potasiu": ["banane"]
+ },
+ [
+ [1, 0, 0, 0],
+ [0, 1, 0, 0],
+ [0, 0, 1, "neo"],
+ [0, 0, 0, 1]
+ ]
+ ],
+
+ "stil alternativ": {
+ "comentariu": "ia uite la asta!"
+ , "pozitia virgulei": "nu conteaza - daca e inaintea valorii atunci e valida"
+ , "alt comentariu": "ce dragut"
+ },
+
+ "a fost scurt": "Am terminat. Acum stii tot ce are JSON de oferit."
+}
+```