csv with keys on the first column and various rows that I need to generate a separate json from #65
Unanswered
paulaworkL
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hey everyone,
I juts stumbled upon this library today, however in my case I have a csv with there first column has all the keys I need in my Json and each other column has values for these keys. I am essentially trying to generate a new json for each column (except the first one) where I have essentially some phrases translated.
so from that example what I would like the json to look like is:
{
"ui": {
"start": "col2_ value_on corresponding row",
"skip": "col2 value_on corresponding _row",
"cancel": "",
"next": "",
"submit": "",
"signUp": "",
"signIn": "",
"finish": "",
"retry": "",
"and": "",
"optional": ""
}
}
It's almost like I would somehow have to loop two times one through the columns and in the loop for the column create another loop for the keys and values pairs.
Has anyone done that using this library? (I am using JS)
Beta Was this translation helpful? Give feedback.
All reactions