Skip to content

Commit 088404b

Browse files
committed
[MINOR] Shift with test order
1 parent 26fce9d commit 088404b

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

app/src/main/kotlin/App.kt

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ import kotlinx.serialization.Serializable
88
* Main application entry point for testing JSON5 parsing and serialization.
99
*/
1010
fun main() {
11+
// Test serialization and deserialization of Employee model
12+
testEmployeeSerialization()
13+
14+
// Run README sample code validation tests
15+
println("\n=== README Sample Code Validation ===")
16+
testBasicParsingAndStringifying()
17+
testKotlinxSerializationIntegration()
18+
testAdvancedFeatures()
19+
testMigrationCompatibility()
20+
21+
// Test sample JSON5 files from resources
22+
testSampleJson5Files()
23+
}
24+
25+
private fun testSampleJson5Files() {
1126
val json5files = listOf(
1227
"simple-object.json5",
1328
"array-example.json5",
@@ -36,16 +51,6 @@ fun main() {
3651
}
3752
println("\n===============================\n\n")
3853
}
39-
40-
// Test serialization and deserialization of Employee model
41-
testEmployeeSerialization()
42-
43-
// Run README sample code validation tests
44-
println("\n=== README Sample Code Validation ===")
45-
testBasicParsingAndStringifying()
46-
testKotlinxSerializationIntegration()
47-
testAdvancedFeatures()
48-
testMigrationCompatibility()
4954
}
5055

5156

0 commit comments

Comments
 (0)