Replies: 1 comment 3 replies
-
Frustratingly I can't think of a solution to this either. I think a simple solution may be a |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello! I've searched far and wide for an answer to this, but can't seem to find anything. Given a CSV file with format:
When I invoke
dasel -f ~/Desktop/PR\ reviewer\ size.csv -w json 'all().mapOf(id,Id,name,Author,numPRs,TotalPRsReviewed).merge()'
the output is:As can be seen, each JSON field value is a string. I'm guessing this is the underlying or default type for CSV files. What I'd like is if the
id
field could be anint
(I don't care aboutnumPRs
, it's for display). I've seen an example using thePut
command along with the--t
flag but don't see how that can be used alongside what I'm doing. Any suggestions? Thanks!Beta Was this translation helpful? Give feedback.
All reactions