- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for toJSON (0.19 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
private fun formatChanges(changes: List<AbstractAcceptedApiChangesMaintenanceTask.AcceptedApiChange>): String { val gson: Gson = GsonBuilder().setPrettyPrinting().create() val initialString = gson.toJson(AcceptedApiChanges(changes)) return adjustIndentation(initialString) + "\n" } /** * It appears there is no way to configure Gson to use 4 spaces instead of 2 for indentation. *
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Sep 30 18:18:04 GMT 2022 - 2.1K bytes - Viewed (0)