floern / casting-csv-kt Goto Github PK
View Code? Open in Web Editor NEWRead and write CSV directly from and to Kotlin data classes.
License: Apache License 2.0
Read and write CSV directly from and to Kotlin data classes.
License: Apache License 2.0
Add an option for custom type adapters to support (de)serialization of non-primitive field types, such as Date
.
Is there a way to specify custom headers for the fields in an object that's being cast?
i.e. given a field called amountDue
, I would like the header in the csv file to be Amount Due
.
Hello, I had used this library in a project a while ago and came back again after a some months, for some reason is not working right now when trying to open the file (File is ok, it's not the problem). Later I've updated it to 1.2 but still no luck and the error continues
Currently this is how my build.gradle.kts looks:
plugins {
kotlin("jvm") version "1.5.31"
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.floern.castingcsv:casting-csv-kt:1.2")
// Other dependencies not related to this
}
Do you know what could be causing to not find the that class?
I looked up on your project library to see if I'm missing something, I've even added the doyaaaaaken library just in case but no luck.
I believe it might be due to jdk/kotlin versions related because that's the only thing that has been changed "externally" during these times and I don't know what configuration i must apply in order to make it work. Tried versions 1.8, 11 & 17
I'd appreciate a lot if you could point out anything since there's no jdk/jvm/kotlin version requirements specified in the Readme.md and probably I'm missing something there
I'm attaching a picture just in case, everything was working before leaving the project on hold for months:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.