CSV to JSON & Vice Versa Editor & Converter Extension in Visual Studio Code Full Tutorial
Jan 9, 2025
CSV to JSON & Vice Versa Editor & Converter Extension in Visual Studio Code Full Tutorial
Show More Show Less View Video Transcript
0:00
uh Hello friends welcome to this video
0:02
so in this video I will show you a
0:04
visual studio extension which can be
0:06
used to actually convert your CSV files
0:10
commer separated value files to Json
0:13
files or you can do vice versa as well
0:15
you can convert Json files to CSV as
0:17
well right in the editor itself while
0:20
you are coding so just you need to go to
0:23
the extensions Tab and just search here
0:26
csv2
0:28
Json just search C sv2
0:31
Json this is actually the
0:35
extension this
0:37
one this is actually the logo right here
0:40
and uh let me just uninstall it install
0:44
it once
0:49
again you'll see
0:52
49,000 down downloads at the time of
0:55
recording this video so this is the
0:56
actually developer of this and simply
0:59
click install and once you install it
1:03
globally you need to close this and uh
1:05
now you can actually make a simple
1:07
sample. CSV file as you know CSV file is
1:11
comma separated value so these are the
1:13
columns name H country then we Define
1:16
the actual
1:18
values
1:25
rows so now we have defined this and uh
1:28
we can now if you want want to convert
1:30
this into
1:32
Json so what you need to do uh control
1:34
shift p and you to open this terminal so
1:39
here you will select convert CSV to Json
1:43
as you type this will
1:45
open so simply select this option so if
1:48
you select it you will see conversion is
1:51
successful now it has created sample.
1:53
Json with the same name you now see your
1:56
CSV file has been converted
2:04
and you get this result this is your
2:06
Json file created from the CSV
2:10
file so you can add one more
2:17
record so if you do the same thing once
2:23
again now you can see that record will
2:25
also get added
2:30
so now you can do the reverse process if
2:33
you delete this sample. CSV
2:36
file so if you have this Json file now
2:39
you can do the same process this time
2:42
this will be convert Json to CSV so now
2:46
from this Json file we can create a CSV
2:49
file simply select this option and now
2:52
it will create this sample.
2:54
CSV you will now see these records there
2:58
which have been created from this Json
3:01
file it's a very simple extension uh
3:04
which does which does the same simple
3:07
task of converting CSV to Json or Json
3:10
to
3:11
CSV so now we take an
3:14
example of CSV file which has got a lot
3:17
of Records you will see thousand records
3:20
are there and it's a pretty long file so
3:24
in this scenarios this extension comes
3:27
really handy because you don't need any
3:29
third party library or go to any third
3:31
party website for converting CSP to Json
3:34
file you can do it right in the vs code
3:36
editor again same process convert the
3:40
CSV to Json select this option and it
3:44
takes no time you can see now it create
3:47
this Json file for you can
3:51
see valid Json
3:55
file so you can see for all the Thousand
3:59
records which were there it has created
4:01
a Json file and same goes if you delete
4:04
this CSV file if you have this Json
4:09
file you can just say
4:21
convert Json to
4:25
CSV so it will create these
4:28
records so really simple extension and
4:31
once you install it you can create you
4:35
can convert CSV to Json or Json to CSV
4:38
and I showed you this extension and just
4:41
install
4:44
it no Advan settings are there simply
4:46
need to install it and then use it very
4:49
simple so this was the tutorials so
4:53
thank you very much for watching this if
4:55
you like it please hit that like button
4:57
subscribe the channel for more videos
4:59
like this
5:00
and I will be seeing you in the next one
#Software
#Educational Software
#Other
