BigHugger
sk Skill · maxrave-dev

order-preserving-section-mapping

Map a sectioned API response as a list of (title, items) in the order it arrived, never by reading result[0] and result[1] into named fields — a signed-in account is recorded here as getting an extra section pushed in front, and any such shift mislabels every section after it and drops the last one with no error. Assume the set and order may also vary by locale or region, and capture two responses to find out. Use…

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
kotlin
Host repository
maxrave-dev/kotlin-footguns
Host stars
541