Y
Hacker News
new
|
ask
|
show
|
jobs
by
amolgupta
1094 days ago
I pass a kotlin data class and ask chatGPT to return json which can be parsed by that class. Reduces errors with date-time parsing and other formatting issues and takes up lesser tokens than the approach in the article.