Java IoT Authors: Pat Romanski, Zakia Bouachraoui, Elizabeth White, Liz McMillan, Yeshim Deniz

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

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




<LastName> Doe</LastName>











<PhoneNumber>555 555 5555</PhoneNumber>



<EmailAddress>[email protected]</EmailAddress>




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.

IoT & Smart Cities Stories
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next...
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by ...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Cell networks have the advantage of long-range communications, reaching an estimated 90% of the world. But cell networks such as 2G, 3G and LTE consume lots of power and were designed for connecting people. They are not optimized for low- or battery-powered devices or for IoT applications with infrequently transmitted data. Cell IoT modules that support narrow-band IoT and 4G cell networks will enable cell connectivity, device management, and app enablement for low-power wide-area network IoT. B...
The hierarchical architecture that distributes "compute" within the network specially at the edge can enable new services by harnessing emerging technologies. But Edge-Compute comes at increased cost that needs to be managed and potentially augmented by creative architecture solutions as there will always a catching-up with the capacity demands. Processing power in smartphones has enhanced YoY and there is increasingly spare compute capacity that can be potentially pooled. Uber has successfully ...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...