diff options
author | ven <vendethiel@hotmail.fr> | 2016-03-11 09:41:53 +0100 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2016-03-11 09:41:53 +0100 |
commit | 5f65d02955e648ff111c6ce8443f8845080c231e (patch) | |
tree | c38e6f199c3f83bcc5a2e7560f8662713f80c0e2 /ro-ro/json-ro.html.markdown | |
parent | d7bbb280793abffbd7e0330e7b38311e43cbfb48 (diff) | |
parent | d5f62046c37de1b18bd2d5771314e1cc7b9be06a (diff) |
Merge pull request #1648 from fuzzmz/feature/json-ro-translation
[json/ro] Translate JSON file to Romanian
Diffstat (limited to 'ro-ro/json-ro.html.markdown')
-rw-r--r-- | ro-ro/json-ro.html.markdown | 61 |
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." +} +``` |