Procházet zdrojové kódy

Update 04-schema.md

Wrap line-length and modify phrasing
Rob před 8 roky
rodič
revize
e1d1a73cad
1 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 4 3
      doc/04-schema.md

+ 4 - 3
doc/04-schema.md

@@ -775,14 +775,15 @@ will look from the first to the last repository, and pick the first match.
 By default Packagist is added last which means that custom repositories can
 By default Packagist is added last which means that custom repositories can
 override packages from it.
 override packages from it.
 
 
-Using JSON object is also allowed. However, it is discouraged because there is no explicit order of keys in JSON object.
+Using JSON object notation is also possible. However, JSON key/value pairs
+are to be considered unordered so consistent behaviour cannot be guaranteed.
 
 
  ```json
  ```json
 {
 {
     "repositories": {
     "repositories": {
-         "composer": {
+         "foo": {
              "type": "composer",
              "type": "composer",
-             "url": "http://packages.example.com"
+             "url": "http://packages.foo.com"
          }
          }
     }
     }
 }
 }