hello everyone this is mr. random generator in this video I will be starting a new series called
tech vs. this series will be all about comparing similar technologies file types and much more
main objective of this series is not about to find which one is necessarily better but rather
which one is used on which settings so in this video we will be starting off by comparing gamal
versus Jason let's look at Jason first what Jason stands for is JavaScript object notation according
to Jason organization JSON file structure is built on two structures first a collection of
name value pairs those name value pairs correspond to various terminologies in different languages
for example they could be called as an object dictionary hash map and so on 2nd is the array
structure now let's look at this JSON file as you can see we have few value cube pairs after
that we have an array which consists of other key value pairs Jason is actually very flexible
when it comes to structuring your file and this is the reason why it is used extensively for various
purposes now we can move forward to llamó file so it stands for Gamal aints markup languages I know
developers love recursive acronyms so what is the purpose of Yemen Yemen is a data representation
language however it is designed in a way that it is easier to read by humans so unlike Jason
it is it uses indentation as a nesting separator so just like in Python so let's examine a sample
Yama file you can immediately notice that it does have a cleaner and much more minimal look so this
feature of Yemen makes it perfect for creating configuration files at the top we have three
dashes which symbolizes and marks the start of the document just like Jason it does have key
value pairs and Ares as you can see key value pairs are separated by colons and every element
start with - you can also see that in yellow we have comments feature which can be done by using
the hash sign on a side note it is beneficial to say that yeah mole can be considered as a superset
of JSON in some ways for instance Jason's new syntax like that is still valid in ya mod files
as now we briefly looked up into two formats now we can compare them as for the usage Jason
is mainly used for serialization and serving data yeah Mel is mainly used for configuration
as for the performance jason is generally has better parsing performance but it obviously is
dependent on the parser if we move down and look at readability Gamal is clearly much more human
readable than compared against Jason and the difference is especially much more noticeable
when working with large files commenting support is also an important difference unlike yamo Jason
doesn't support commenting parcel availability is another key point so Jason parsers are tend
to be more common and be easily implemented in a lot of circumstances and in a lot of programming
languages that and this is actually not the generally not the case for ml and finally yeah
Mel has vast amount of additional features like anchors and aliases and so on so that basically
summarizes this video hope you like it in that if that is the case make sure to hit the like
button and consider subscribing if you have any recommendations for the next comparison I would
like to hear it in the comments below thank you for watching and see you next time take care