Skip to content

Commit 210b2c5

Browse files
docs: Update the documentation of JSON config overrides (#871)
1 parent 2b0a73a commit 210b2c5

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

modules/concepts/pages/overrides.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ The `jsonPatch` is more complicated than the `jsonMergePatch`, but offers more f
8686
----
8787
configOverrides:
8888
config.json:
89-
jsonPatches:
90-
- '{"op": "test", "path": "/0/name", "value": "Andrew"}'
91-
- '{"op": "add", "path": "/0/happy", "value": true}'
92-
- '{"op": "remove", "path": "/0/birthDate"}'
89+
jsonPatch:
90+
- {"op": "test", "path": "/0/name", "value": "Andrew"}
91+
- {"op": "add", "path": "/0/happy", "value": true}
92+
- {"op": "remove", "path": "/0/birthDate"}
9393
----
9494

9595
==== User provided JSON
@@ -117,7 +117,8 @@ configOverrides:
117117
config.json:
118118
userProvided:
119119
myString: test
120-
myList: [test]
120+
myList:
121+
- test
121122
myBool: true
122123
my:
123124
nested.field.with.dots: 42

0 commit comments

Comments
 (0)