- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for indentation (0.15 sec)
-
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
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. * * See: https://github.com/google/gson/blob/master/UserGuide.md#TOC-Compact-Vs.-Pretty-Printing-for-JSON-Output-Format */ private fun adjustIndentation(initalJsonString: String): String {
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)