Skip to content

Commit b30aa61

Browse files
committed
Update
1 parent bbe2f1f commit b30aa61

File tree

2 files changed

+30
-17
lines changed

2 files changed

+30
-17
lines changed

_pages/en/docs/guides/introduce-apon.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ numbers: [
129129
**Example of a root-level array:**
130130
```apon
131131
[
132-
"apple"
133-
"banana"
134-
"cherry"
132+
apple
133+
banana
134+
cherry
135135
]
136136
```
137137

@@ -277,9 +277,9 @@ public class AponReaderTest {
277277
// Example 2: Reading a root array
278278
String apon2 = """
279279
[
280-
"apple"
281-
"banana"
282-
"cherry"
280+
apple
281+
banana
282+
cherry
283283
]
284284
""";
285285
// For root arrays, you should explicitly provide an ArrayParameters instance
@@ -315,8 +315,15 @@ public class AponParserTest {
315315
try {
316316
String apon = """
317317
[
318-
[ "a", "b" ],
319-
[ "c", "d", "e" ]
318+
[
319+
a
320+
b
321+
],
322+
[
323+
c
324+
d
325+
e
326+
]
320327
]
321328
""";
322329

_pages/ko/docs/guides/introduce-apon.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ numbers: [
129129
**루트 레벨 배열의 예:**
130130
```apon
131131
[
132-
"apple"
133-
"banana"
134-
"cherry"
132+
apple
133+
banana
134+
cherry
135135
]
136136
```
137137

@@ -277,9 +277,9 @@ public class AponReaderTest {
277277
// 예제 2: 루트 배열 읽기
278278
String apon2 = """
279279
[
280-
"apple"
281-
"banana"
282-
"cherry"
280+
apple
281+
banana
282+
cherry
283283
]
284284
""";
285285
// 루트 배열의 경우, 명시적으로 ArrayParameters 인스턴스를 제공해야 합니다.
@@ -315,11 +315,17 @@ public class AponParserTest {
315315
try {
316316
String apon = """
317317
[
318-
[ "a", "b" ],
319-
[ "c", "d", "e" ]
318+
[
319+
a
320+
b
321+
],
322+
[
323+
c
324+
d
325+
e
326+
]
320327
]
321328
""";
322-
323329
// AponParser를 사용하여 문자열을 ArrayParameters 객체로 파싱
324330
ArrayParameters rootArrayParams = AponParser.parse(apon, ArrayParameters.class);
325331

0 commit comments

Comments
 (0)