A
A
Alexander Lyakh2020-08-17 11:24:12
Kotlin
Alexander Lyakh, 2020-08-17 11:24:12

How to create an array of dictionaries in Kotlin?

something like this: [{"id":1, "value":5},{"id":2, "value":6}]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timur Pokrovsky, 2020-08-17
@AlexanderLyakh

https://metanit.com/kotlin/tutorial/2.3.php arrays
https://metanit.com/kotlin/tutorial/7.4.php dictionaries

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question