We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d00df commit b586f9eCopy full SHA for b586f9e
src/jvm/org/pantsbuild/example/json/JsonExample.kt
@@ -23,7 +23,10 @@ fun decodeUser(file: String) {
23
println("Email: ${user.email}")
24
}
25
26
-fun encodeUser(name: String, email: String) {
+fun encodeUser(
27
+ name: String,
28
+ email: String,
29
+) {
30
val user = User(name, email)
31
println(Json.encodeToString(user))
32
0 commit comments