Welcome!

Java IoT Authors: Elizabeth White, Yeshim Deniz, Liz McMillan, Pat Romanski, Frank Lupo

Related Topics: @DevOpsSummit, Java IoT

@DevOpsSummit: Blog Post

What Is JSON? Introductory Guide By @TrevParsons | @DevOpsSummit [#DevOps]

JSON, short for JavaScript Object Notation, continues to gain momentum in our increasingly connected world

Some days it's hard to remember if Moore's law applies to increasing computer power or the number of technologies and breadth of terminology impacting our daily work.

JSON, short for JavaScript Object Notation, continues to gain momentum in our increasingly connected world. Reading this primer will give you a baseline understanding so you can start having intelligent conversations about the pros and cons of using JSON with your team.

what is JSON

What is JSON?
Contrary to its naming convention, JSON is a language-independent data exchange format that enables us to quickly and easily share information between all of our systems and devices, regardless of technology. In the subsequent sections we will dive into why JSON has been increasing in popularity and usage recently.

To illustrate the rise of JSON, check out the trend graph below, which shows a steady increase in the amount Google searches for JSON over the last 10 years.

JSON searches in Google

JSON vs. XML
To really understand this increase, let's compare the search volume for JSON (blue) against the search volume for XML (red). XML is currently the most used data exchange format, but we can see that if the current trend continues there will be more people trying to learn about JSON than XML in the next year or two.

JSON vs XML Google searches

What is responsible for the JSON revolution?

Why are people moving away from a legacy technology like XML into a new domain?

There are a couple major driving factors from both the human and machine side; the first is ease of use. Below is an example data set representing the contact details for a person in both JSON and XML.

Example JSON Code

{

 

"FirstName": "John",

"LastName": "Smith",

"Age": "27,

"Address": {

"StreetNumber": 34,

"StreetName": "Farnsworth",

"City": "Boston",

"State": "MA",

"PostalCode": "02210",

"Country": "USA"

},

"ContactDetails": {

"PhoneNumber": "555 555 5555″,

"Email": {

"Type": "Work",

"EmailAddress": "[email protected]"

}

}

}

Example XML Code

<Person>

 

<FirstName>John</FirstName>

<LastName> Doe</LastName>

<Age>27</Age>

<Address>

<StreetNumber>34</StreetNumber>

<StreetName>Farnsworth</StreetName>

<City>Boston</City>

<State>MA</State>

<PostalCode>02210</PostalCode>

<Country>USA</Country>

</Address>

<ContactDetails>

<PhoneNumber>555 555 5555</PhoneNumber>

<Email>

<Type>Work</Type>

<EmailAddress>[email protected]</EmailAddress>

</Email>

</ContactDetails>

</Person>

Readability
XML and JSON are both excellent examples of human readable languages. Human readability is paramount to effectively working with unstructured data. It allows your teams to quickly understand what data is available enabling them to provide the reporting and insight you require to effectively run your business.

Key-value pairs (KVPs) are another major improvement found in JSON compared to XML. KVPs are perfectly suited to the unstructured data found in today's big data environments. The explicit relationship defined in the KVP format enables advanced analytic solutions to automatically identify, highlight and query against the values stored without any additional coding or configuration even as the data you are tracking changes.

JSON's role in the rise of Big Data
Another major consideration is the rise of big data. The massive amount of data being transmitted by corporations today requires a lightweight data exchange language. In the examples above, the JSON code contains 355 characters while the XML code contains 461.

While at first glance this might not seem like a huge difference, it actually accounts for a30% increase in data sent in the XML example.

With corporations operating big data solutions that can process Terabytes to Petabytes of data everyday it is easy to understand that the additional overhead present in XML can lead to additional costs, network congestion and latency to critical operations.

JSON for the win!
To effectively manage and analyze data in a world of increasing quantities of unstructured data, people are looking towards KVP formats to provide the flexibility, speed and functionality they require. This has led to a steady increase in the usage of JSON to share data between the applications and devices that make our world run.

When you combine these features with intuitive analytic tools, such as Logentries, you enable a larger part of your organization to benefit from the data you currently store and track. We are now able to move away from the legacy approach where data scientists and implementation teams spend months trying to figure out the perfect metrics based on historical decision points. Winning companies in today's world adapt to new trends quickly by enabling their teams to access the right data at the right time.

Interested in working with JSON in Logentries? Start a free 30-day trial!

More Stories By Trevor Parsons

Trevor Parsons is Chief Scientist and Co-founder of Logentries. Trevor has over 10 years experience in enterprise software and, in particular, has specialized in developing enterprise monitoring and performance tools for distributed systems. He is also a research fellow at the Performance Engineering Lab Research Group and was formerly a Scientist at the IBM Center for Advanced Studies. Trevor holds a PhD from University College Dublin, Ireland.

@ThingsExpo Stories
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities – ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups. As a result, many firms employ new business models that place enormous impor...
Amazon is pursuing new markets and disrupting industries at an incredible pace. Almost every industry seems to be in its crosshairs. Companies and industries that once thought they were safe are now worried about being “Amazoned.”. The new watch word should be “Be afraid. Be very afraid.” In his session 21st Cloud Expo, Chris Kocher, a co-founder of Grey Heron, will address questions such as: What new areas is Amazon disrupting? How are they doing this? Where are they likely to go? What are th...
SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.
SYS-CON Events announced today that Dasher Technologies will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Dasher Technologies, Inc. ® is a premier IT solution provider that delivers expert technical resources along with trusted account executives to architect and deliver complete IT solutions and services to help our clients execute their goals, plans and objectives. Since 1999, we'v...
SYS-CON Events announced today that NetApp has been named “Bronze Sponsor” of SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. NetApp is the data authority for hybrid cloud. NetApp provides a full range of hybrid cloud data services that simplify management of applications and data across cloud and on-premises environments to accelerate digital transformation. Together with their partners, NetApp emp...
SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.
SYS-CON Events announced today that TidalScale, a leading provider of systems and services, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. TidalScale has been involved in shaping the computing landscape. They've designed, developed and deployed some of the most important and successful systems and services in the history of the computing industry - internet, Ethernet, operating s...
Infoblox delivers Actionable Network Intelligence to enterprise, government, and service provider customers around the world. They are the industry leader in DNS, DHCP, and IP address management, the category known as DDI. We empower thousands of organizations to control and secure their networks from the core-enabling them to increase efficiency and visibility, improve customer service, and meet compliance requirements.
SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.
Join IBM November 1 at 21st Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA, and learn how IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Cognitive analysis impacts today’s systems with unparalleled ability that were previously available only to manned, back-end operations. Thanks to cloud processing, IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Imagine a robot vacuum that becomes your personal assistant tha...
In a recent survey, Sumo Logic surveyed 1,500 customers who employ cloud services such as Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). According to the survey, a quarter of the respondents have already deployed Docker containers and nearly as many (23 percent) are employing the AWS Lambda serverless computing framework. It’s clear: serverless is here to stay. The adoption does come with some needed changes, within both application development and operations. Tha...
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, will lead you through the exciting evolution of the cloud. He'll look at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering ...
SYS-CON Events announced today that Avere Systems, a leading provider of enterprise storage for the hybrid cloud, will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Avere delivers a more modern architectural approach to storage that doesn't require the overprovisioning of storage capacity to achieve performance, overspending on expensive storage media for inactive data or the overbui...
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
SYS-CON Events announced today that TidalScale will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. TidalScale is the leading provider of Software-Defined Servers that bring flexibility to modern data centers by right-sizing servers on the fly to fit any data set or workload. TidalScale’s award-winning inverse hypervisor technology combines multiple commodity servers (including their ass...
SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
As hybrid cloud becomes the de-facto standard mode of operation for most enterprises, new challenges arise on how to efficiently and economically share data across environments. In his session at 21st Cloud Expo, Dr. Allon Cohen, VP of Product at Elastifile, will explore new techniques and best practices that help enterprise IT benefit from the advantages of hybrid cloud environments by enabling data availability for both legacy enterprise and cloud-native mission critical applications. By rev...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend 21st Cloud Expo October 31 - November 2, 2017, at the Santa Clara Convention Center, CA, and June 12-14, 2018, at the Javits Center in New York City, NY, and learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
Join IBM November 1 at 21st Cloud Expo at the Santa Clara Convention Center in Santa Clara, CA, and learn how IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Cognitive analysis impacts today’s systems with unparalleled ability that were previously available only to manned, back-end operations. Thanks to cloud processing, IBM Watson can bring cognitive services and AI to intelligent, unmanned systems. Imagine a robot vacuum that becomes your personal assistant th...
Digital transformation is changing the face of business. The IDC predicts that enterprises will commit to a massive new scale of digital transformation, to stake out leadership positions in the "digital transformation economy." Accordingly, attendees at the upcoming Cloud Expo | @ThingsExpo at the Santa Clara Convention Center in Santa Clara, CA, Oct 31-Nov 2, will find fresh new content in a new track called Enterprise Cloud & Digital Transformation.