File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -108,11 +108,6 @@ val json5String = JSON5.stringify(data)
108108If you were previously using the deprecated ` parseToAny ` method, here's how to migrate:
109109
110110``` kotlin
111- // Old API (deprecated and removed)
112- // val result = JSON5.parseToAny("""{"key": "value"}""")
113- // val map = result as Map<String, Any?>
114-
115- // New API - Type-safe approach (recommended)
116111val result = JSON5 .parse(""" {"key": "value"}""" )
117112when (result) {
118113 is JSON5Value .Object -> {
@@ -252,6 +247,7 @@ This project uses [Gradle](https://gradle.org/) with Java 21:
252247./gradlew build # Build the library
253248./gradlew test # Run tests
254249./gradlew check # Run all checks including tests
250+ ./gradlew :benchmark:run # Runs the benchmark
255251```
256252
257253## License
You can’t perform that action at this time.
0 commit comments