Skip to content

Commit 94b6574

Browse files
authored
direct to MDN for information about JSON (#4518)
1 parent 2a67761 commit 94b6574

File tree

3 files changed

+14
-129
lines changed

3 files changed

+14
-129
lines changed

locale/en/knowledge/javascript-conventions/what-is-json.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ difficulty: 5
99
layout: knowledge-post.hbs
1010
---
1111

12+
This page is not actively maintained and may be outdated. Please refer to [MDN's JSON page](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/JSON) instead.
13+
14+
<details>
15+
<summary>Original contents</summary>
16+
1217
JavaScript Object Notation, or JSON, is a lightweight data format that
1318
has become the defacto standard for the web. JSON can be represented
1419
as either a list of values, e.g. an Array, or a hash of properties and
@@ -145,3 +150,5 @@ puts data.to_json
145150

146151
# prints "{ \"one\": 1 }"
147152
```
153+
154+
</details>

locale/fr/knowledge/javascript-conventions/what-is-json.md

Lines changed: 0 additions & 129 deletions
This file was deleted.

locale/pt-br/knowledge/javascript-conventions/what-is-json.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ difficulty: 5
99
layout: knowledge-post.hbs
1010
---
1111

12+
Esta página não é mantida ativamente e talvez esteja desatualizada. Consulte a [página do MDN sobre JSON](https://developer.mozilla.org/pt-BR/docs/Learn/JavaScript/Objects/JSON) em vez disso.
13+
14+
<details>
15+
<summary>Conteúdo original</summary>
16+
1217
JavaScript Object Notation ou JSON, é um formato de dados leve que tornou-se
1318
o padrão para a web. JSON pode ser representado como uma lista de
1419
valores, por exemplo, um Array, ou um hash de propriedades e valores, por exemplo, um
@@ -155,3 +160,5 @@ puts dado.to_json
155160

156161
# imprime "{ \"um\": 1 }"
157162
```
163+
164+
</details>

0 commit comments

Comments
 (0)