SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
IOSR Journal of Computer Engineering (IOSR-JCE)
e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 17, Issue 6, Ver. V (Nov – Dec. 2015), PP 01-04
www.iosrjournals.org
DOI: 10.9790/0661-17650104 www.iosrjournals.org 1 | Page
Q-JSON - Reduced JSON schema with high Data Representation
Efficiency
Pratik Tyagi1
1
(Bangalore,India)
Abstract: Mobility has already become the mainstream interface requirement for applications and the end
users; this is forcing all applications/companies to adopt Web services [1] based architecture. But supporting
mobility and the growing demand for better user experience comes with technical constraints such as memory
space and lower data transfer rate. This paper proposes a new reduced JSON schema (Q-JSON) that improves
data representation efficiency and thus improving on both constraints without any need of extra
encoding/decoding.
Proposed Q-JSON schema format normalizes the redundant data key information without compromising the
actual business relevant information.
Keywords: JSON Schema, Data representation efficiency, mobility, response delay, web services
I. Introduction
JSON [2] has achieved widespread adoption as the generic data representation format for fetching data
from Web services due to its use as a JavaScript data structure and lightweight data representation over the
legacy XML [3].However even with these advantages there are cases when generic schema of object
representation using JSON can be further optimized to achieve better DRE(Data Representation Efficiency).
Since data fetching operation owns major portion of user action response delay time, reducing the data transfer
size in turn reduces the response delay. This paper proposes a reduced JSON (Q-JSON) schema that allows
applications to send more business relevant information within the same data size.
This paper documents the proposed Q-JSON schema structure and comparative case study between
generic JSON schema and proposed Q-JSON schema.
II. Observation
Applications that present large homogeneous data list in one view to the user such as list of users
available in the system, uses server side APIs in Web services to convert data to the generic JSON schema
format, e.g. JAX-B [4] to convert java objects to JSON response. These APIs use generic format (1-1 mapping)
to convert business data to JSON format i.e. representing a homogeneous list of object as shown in section 2.1.
2.1 Generic JSON representation: Homogenous Single Level List
Two object representation with 4 attributes:-
[
{
AttributeName1 : AttributeValueA1,
AttributeName2 : AttributeValueA2,
AttributeName3 : AttributeValueA3,
AttributeName4 : AttributeValueA4
},
{
AttributeName1 : AttributeValueB1,
AttributeName2 : AttributeValueB2,
AttributeName3 : AttributeValueB3,
AttributeName4 : AttributeValueB4
}
]
This representation comes with major redundancy in form of repeated key information for each object;
this information can be removed without compromising the actual business relevant information and thus
improving the DRE in terms of data size.
Q-JSON - Reduced JSON schema with high Data Representation Efficiency
DOI: 10.9790/0661-17650104 www.iosrjournals.org 2 | Page
III. Proposal: Q-JSON schema
Q-JSON uses Array as its base data structure for representing the data. It normalizes the redundant data
key information and representing them as a single array once and the individual object values in separate array,
this representation provides two advantages: - a) Reduced data size b) Faster iteration due to use of Array data
structure.
Q-JSON Syntax:
{
AttributeDefinationList :[<Attr Definition>, <Attr Definition>,…],
AttributeDataList :[[<Attr Val>, <Attr Val>,…][<Attr Val>, <Attr Val>,…]]
}
Q-JSON schema can be used for representing homogenous single level data list as well as for complex
homogeneous hierarchical data structures.
3.1 Q-JSON representation: Homogenous single level List
2 object representation with 4 attributes:-
{
AttributeDefinationList: [AttributeName1, AttributeName2, AttributeName3, AttributeName4],
AttributeDataList: [
[AttributeValueA1, AttributeValueA2, AttributeValueA3, AttributeValueA4],
[AttributeValueB1, AttributeValueB2, AttributeValueB3, AttributeValueB4]
]
}
3.2 Q-JSON representation: Homogenous multi-level structure
Q-JSON schema can be extended to represent multilevel hierarchical data structure as shown below:-
{
AttributeDefinationList: [AttributeName1, AttributeName2, AttributeName3, Children],
AttributeDataList: [
[AttributeValueA1, AttributeValueA2, AttributeValueA3,
{
AttributeDefinationList:[Sub-AttributeName1, Sub-AttributeName2],
AttributeDataList:[[Sub-AttrValueA1, Sub-AttrValueA2],
[Sub-AttrValueB1, Sub-AttrValueB2]]
}
],
[AttributeValueB1, AttributeValueB2, AttributeValueB3,
{
AttributeDefinationList:[Sub-AttributeName1, Sub-AttributeName2],
AttributeDataList:[[Sub-AttrValueC1, Sub-AttrValueC2],
[Sub-AttrValueD1, Sub-AttrValueD2]]
}
]
]
}
IV. Comparative Case study
This case study uses a Web Application/client that request Web services for list of users existing in the
application. Below comparative cases take account of resultant data size based comparison b/w the Generic
JSON schema and Q-JSON schema.
4.1 Comparative Case study 1:
Sample Data Description
Object Type : USER
Sample object size : 1000, 5000, 15000 and 50000
Object Attribute Key to Value (chars) List:-
1. Name : 15 chars
2. Age : 2 chars
3. Gender : 4 chars
Q-JSON - Reduced JSON schema with high Data Representation Efficiency
DOI: 10.9790/0661-17650104 www.iosrjournals.org 3 | Page
4. Address : 100 Chars
∑ Attribute keys char length: ∑Attribute value char length Ratio = (4+3+6+7) / (15+2+4+100) = 20/121 = 0.16
Table1.Data Representation Result
No. of Objects Generic JSON format Size(KB) Q-JSON format Size(KB)
1000 163 132
5000 811 655
15000 2432 1964
50000 8106 6544
Data size reduction = 19% approx.
No. of objects: Generic JSON format data size = 6.1 (min)
No of Objects represented in 2000KB = 2000*6.1 = 12200
No. of objects: Q-JSON format data size = 7.5 (min)
No of Objects represented in 2000KB = 2000*7.5 = 15000
Increase in No. of objects represented using Q-JSON schema (Data size 2000KB) = 2800 or 23%
4.2 Comparative Case study 2
Sample Data Description
Object Type : USER
Sample object size : 1000, 5000, 15000 and 50000
Object Attribute Key to Value (chars) List:-
1. Name : 15 chars
2. Age : 2 chars
3. Gender : 4 chars
4. Address : 100 chars
5. Phone No. : 10 chars
6. Company : 23 chars
7. Designation : 17 chars
8. E-ID : 3 chars
9. Team Name : 10 chars
∑ Attribute keys char length: ∑Attribute value char length Ratio = (4+3+6+7+9+7+11+7+9) /
(15+2+4+100+10+23+17+3+10) = 63/184 = 0.34
Table2.Data Representation Result
No. of Objects Generic JSON format Size(KB) Q-JSON format Size(KB)
1000 296 208
5000 1475 1036
15000 4425 3106
50000 14747 10352
Data size reduction = 30% approx.
No. of objects: Generic JSON format data size = 3.37 (min)
No of Objects represented in 2000KB = 2000*3.37 = 6740
No. of objects: Q-JSON format data size = 4.80 (min)
No of Objects represented in 2000KB = 2000*4.80 = 9600
Increase in No of Objects represented using Q-JSON schema (Data size 2000KB) = 2860 or 42%
V. Conclusion
Q-JSON drastically improves the DRE (Data Representation Efficiency) for linear/hierarchical
homogenous data without any need of encoding. This Increase in DRE directly correlates to ratio of represented
object’s attribute key char length to their value char length.
Improving the DRE allow applications to transfer same business information in much lesser data size
as compared to the generic JSON schema representation, thus in turn decreasing the user action response delay.
Q-JSON - Reduced JSON schema with high Data Representation Efficiency
DOI: 10.9790/0661-17650104 www.iosrjournals.org 4 | Page
References
[1] Leonard Richardson, Sam Ruby, RESTful Web Services, Web services for the real world(O'Reilly Media,2007)
[2] JSON online: http://www.json.org/ - ECMA-262 (ISO/IEC 16262), ECMAScript® Language Specification, 3rd edition (December
1999)
[3] Peter Aiken, M. David Allen, XML in Data Management (Elsevier,2004)
[4] Java Architecture for XML Binding (JAXB), http://www.oracle.com/technetwork/articles/javase/index-140168.html

Weitere ähnliche Inhalte

Was ist angesagt?

MVP Cloud OS Week Track 1 9 Sept: Data liberty
MVP Cloud OS Week Track 1 9 Sept: Data libertyMVP Cloud OS Week Track 1 9 Sept: Data liberty
MVP Cloud OS Week Track 1 9 Sept: Data libertycsmyth501
 
Analysis of different similarity measures: Simrank
Analysis of different similarity measures: SimrankAnalysis of different similarity measures: Simrank
Analysis of different similarity measures: SimrankAbhishek Mungoli
 
HOLISTIC EVALUATION OF XML QUERIES WITH STRUCTURAL PREFERENCES ON AN ANNOTATE...
HOLISTIC EVALUATION OF XML QUERIES WITH STRUCTURAL PREFERENCES ON AN ANNOTATE...HOLISTIC EVALUATION OF XML QUERIES WITH STRUCTURAL PREFERENCES ON AN ANNOTATE...
HOLISTIC EVALUATION OF XML QUERIES WITH STRUCTURAL PREFERENCES ON AN ANNOTATE...ijseajournal
 
Javascript & SQL within database management system
Javascript & SQL within database management systemJavascript & SQL within database management system
Javascript & SQL within database management systemClusterpoint
 
SOURCE CODE RETRIEVAL USING SEQUENCE BASED SIMILARITY
SOURCE CODE RETRIEVAL USING SEQUENCE BASED SIMILARITYSOURCE CODE RETRIEVAL USING SEQUENCE BASED SIMILARITY
SOURCE CODE RETRIEVAL USING SEQUENCE BASED SIMILARITYIJDKP
 
Webinar: ArangoDB 3.8 Preview - Analytics at Scale
Webinar: ArangoDB 3.8 Preview - Analytics at Scale Webinar: ArangoDB 3.8 Preview - Analytics at Scale
Webinar: ArangoDB 3.8 Preview - Analytics at Scale ArangoDB Database
 
JSON and MongoDB in R
JSON and MongoDB in RJSON and MongoDB in R
JSON and MongoDB in RLeon Kim
 
Intake 38 data access 4
Intake 38 data access 4Intake 38 data access 4
Intake 38 data access 4Mahmoud Ouf
 
Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...
Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...
Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...PERICLES_FP7
 
GCUBE INDEXING
GCUBE INDEXINGGCUBE INDEXING
GCUBE INDEXINGIJDKP
 
IRJET- Sentiment Analysis of Election Result based on Twitter Data using R
IRJET- Sentiment Analysis of Election Result based on Twitter Data using RIRJET- Sentiment Analysis of Election Result based on Twitter Data using R
IRJET- Sentiment Analysis of Election Result based on Twitter Data using RIRJET Journal
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDBRaghunath A
 
Intake 38 data access 1
Intake 38 data access 1Intake 38 data access 1
Intake 38 data access 1Mahmoud Ouf
 

Was ist angesagt? (19)

MVP Cloud OS Week Track 1 9 Sept: Data liberty
MVP Cloud OS Week Track 1 9 Sept: Data libertyMVP Cloud OS Week Track 1 9 Sept: Data liberty
MVP Cloud OS Week Track 1 9 Sept: Data liberty
 
AtomiDB Dr Ashis Banerjee reviews
AtomiDB Dr Ashis Banerjee reviewsAtomiDB Dr Ashis Banerjee reviews
AtomiDB Dr Ashis Banerjee reviews
 
Analysis of different similarity measures: Simrank
Analysis of different similarity measures: SimrankAnalysis of different similarity measures: Simrank
Analysis of different similarity measures: Simrank
 
ADB introduction
ADB introductionADB introduction
ADB introduction
 
HOLISTIC EVALUATION OF XML QUERIES WITH STRUCTURAL PREFERENCES ON AN ANNOTATE...
HOLISTIC EVALUATION OF XML QUERIES WITH STRUCTURAL PREFERENCES ON AN ANNOTATE...HOLISTIC EVALUATION OF XML QUERIES WITH STRUCTURAL PREFERENCES ON AN ANNOTATE...
HOLISTIC EVALUATION OF XML QUERIES WITH STRUCTURAL PREFERENCES ON AN ANNOTATE...
 
Lab3cth
Lab3cthLab3cth
Lab3cth
 
Javascript & SQL within database management system
Javascript & SQL within database management systemJavascript & SQL within database management system
Javascript & SQL within database management system
 
SOURCE CODE RETRIEVAL USING SEQUENCE BASED SIMILARITY
SOURCE CODE RETRIEVAL USING SEQUENCE BASED SIMILARITYSOURCE CODE RETRIEVAL USING SEQUENCE BASED SIMILARITY
SOURCE CODE RETRIEVAL USING SEQUENCE BASED SIMILARITY
 
Webinar: ArangoDB 3.8 Preview - Analytics at Scale
Webinar: ArangoDB 3.8 Preview - Analytics at Scale Webinar: ArangoDB 3.8 Preview - Analytics at Scale
Webinar: ArangoDB 3.8 Preview - Analytics at Scale
 
JSON and MongoDB in R
JSON and MongoDB in RJSON and MongoDB in R
JSON and MongoDB in R
 
Big Data Clustering Model based on Fuzzy Gaussian
Big Data Clustering Model based on Fuzzy GaussianBig Data Clustering Model based on Fuzzy Gaussian
Big Data Clustering Model based on Fuzzy Gaussian
 
Intake 38 data access 4
Intake 38 data access 4Intake 38 data access 4
Intake 38 data access 4
 
Xml 215-presentation
Xml 215-presentationXml 215-presentation
Xml 215-presentation
 
Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...
Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...
Digital Preservation in the era of Big Data - The Diachron Platform - Acting ...
 
GCUBE INDEXING
GCUBE INDEXINGGCUBE INDEXING
GCUBE INDEXING
 
IRJET- Sentiment Analysis of Election Result based on Twitter Data using R
IRJET- Sentiment Analysis of Election Result based on Twitter Data using RIRJET- Sentiment Analysis of Election Result based on Twitter Data using R
IRJET- Sentiment Analysis of Election Result based on Twitter Data using R
 
ChemEngine ACS
ChemEngine ACSChemEngine ACS
ChemEngine ACS
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
Intake 38 data access 1
Intake 38 data access 1Intake 38 data access 1
Intake 38 data access 1
 

Andere mochten auch

Devoxx - JSON Validation using JSON Schema and Jackson
Devoxx - JSON Validation using JSON Schema and JacksonDevoxx - JSON Validation using JSON Schema and Jackson
Devoxx - JSON Validation using JSON Schema and Jacksonsrondal
 
JSON Schema: Your API's Secret Weapon
JSON Schema: Your API's Secret WeaponJSON Schema: Your API's Secret Weapon
JSON Schema: Your API's Secret WeaponPete Gamache
 
Using JSON Schema Validator
Using JSON Schema ValidatorUsing JSON Schema Validator
Using JSON Schema ValidatorRahul Kumar
 
JSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked DataJSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked DataGregg Kellogg
 
Apprendre a Coder au WAJUG
Apprendre a Coder au WAJUGApprendre a Coder au WAJUG
Apprendre a Coder au WAJUGsrondal
 

Andere mochten auch (7)

JSON Schema MegaWat
JSON Schema MegaWatJSON Schema MegaWat
JSON Schema MegaWat
 
Devoxx - JSON Validation using JSON Schema and Jackson
Devoxx - JSON Validation using JSON Schema and JacksonDevoxx - JSON Validation using JSON Schema and Jackson
Devoxx - JSON Validation using JSON Schema and Jackson
 
JSON Schema: Your API's Secret Weapon
JSON Schema: Your API's Secret WeaponJSON Schema: Your API's Secret Weapon
JSON Schema: Your API's Secret Weapon
 
Using JSON Schema Validator
Using JSON Schema ValidatorUsing JSON Schema Validator
Using JSON Schema Validator
 
Json tutorial
Json tutorialJson tutorial
Json tutorial
 
JSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked DataJSON-LD: JSON for Linked Data
JSON-LD: JSON for Linked Data
 
Apprendre a Coder au WAJUG
Apprendre a Coder au WAJUGApprendre a Coder au WAJUG
Apprendre a Coder au WAJUG
 

Ähnlich wie Q-JSON - Reduced JSON schema with high Data Representation Efficiency

Native JSON Support in SQL2016
Native JSON Support in SQL2016Native JSON Support in SQL2016
Native JSON Support in SQL2016Ivo Andreev
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLEDB
 
Working with XML and JSON Serializing
Working with XML and JSON SerializingWorking with XML and JSON Serializing
Working with XML and JSON Serializingssusere19c741
 
A Case Elaboration Methodology for a Semantic Web Service Discovery System Ba...
A Case Elaboration Methodology for a Semantic Web Service Discovery System Ba...A Case Elaboration Methodology for a Semantic Web Service Discovery System Ba...
A Case Elaboration Methodology for a Semantic Web Service Discovery System Ba...IJERA Editor
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R langsenthil0809
 
Import web resources using R Studio
Import web resources using R StudioImport web resources using R Studio
Import web resources using R StudioRupak Roy
 
Going Native: Leveraging the New JSON Native Datatype in Oracle 21c
Going Native: Leveraging the New JSON Native Datatype in Oracle 21cGoing Native: Leveraging the New JSON Native Datatype in Oracle 21c
Going Native: Leveraging the New JSON Native Datatype in Oracle 21cJim Czuprynski
 
Enterprise Postgres
Enterprise PostgresEnterprise Postgres
Enterprise PostgresOracle Korea
 
JSON Support in DB2 for z/OS
JSON Support in DB2 for z/OSJSON Support in DB2 for z/OS
JSON Support in DB2 for z/OSJane Man
 
Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Igor Moochnick
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developersukdpe
 
February 2016 Webinar Series - Introduction to DynamoDB
February 2016 Webinar Series - Introduction to DynamoDBFebruary 2016 Webinar Series - Introduction to DynamoDB
February 2016 Webinar Series - Introduction to DynamoDBAmazon Web Services
 
Automated Syntactic Mediation for Web Service Integration
Automated Syntactic Mediation for Web Service IntegrationAutomated Syntactic Mediation for Web Service Integration
Automated Syntactic Mediation for Web Service IntegrationMartin Szomszor
 
Modularizing RESTful Web Service Management with Aspect Oriented Programming
Modularizing RESTful Web Service Management with Aspect Oriented ProgrammingModularizing RESTful Web Service Management with Aspect Oriented Programming
Modularizing RESTful Web Service Management with Aspect Oriented ProgrammingWidhian Bramantya
 

Ähnlich wie Q-JSON - Reduced JSON schema with high Data Representation Efficiency (20)

Native JSON Support in SQL2016
Native JSON Support in SQL2016Native JSON Support in SQL2016
Native JSON Support in SQL2016
 
NoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQLNoSQL and Spatial Database Capabilities using PostgreSQL
NoSQL and Spatial Database Capabilities using PostgreSQL
 
Working with XML and JSON Serializing
Working with XML and JSON SerializingWorking with XML and JSON Serializing
Working with XML and JSON Serializing
 
Olap
OlapOlap
Olap
 
A Case Elaboration Methodology for a Semantic Web Service Discovery System Ba...
A Case Elaboration Methodology for a Semantic Web Service Discovery System Ba...A Case Elaboration Methodology for a Semantic Web Service Discovery System Ba...
A Case Elaboration Methodology for a Semantic Web Service Discovery System Ba...
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R lang
 
Import web resources using R Studio
Import web resources using R StudioImport web resources using R Studio
Import web resources using R Studio
 
Going Native: Leveraging the New JSON Native Datatype in Oracle 21c
Going Native: Leveraging the New JSON Native Datatype in Oracle 21cGoing Native: Leveraging the New JSON Native Datatype in Oracle 21c
Going Native: Leveraging the New JSON Native Datatype in Oracle 21c
 
Json
JsonJson
Json
 
Enterprise Postgres
Enterprise PostgresEnterprise Postgres
Enterprise Postgres
 
JSON Support in DB2 for z/OS
JSON Support in DB2 for z/OSJSON Support in DB2 for z/OS
JSON Support in DB2 for z/OS
 
Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developers
 
Services Stanford 2012
Services Stanford 2012Services Stanford 2012
Services Stanford 2012
 
February 2016 Webinar Series - Introduction to DynamoDB
February 2016 Webinar Series - Introduction to DynamoDBFebruary 2016 Webinar Series - Introduction to DynamoDB
February 2016 Webinar Series - Introduction to DynamoDB
 
MySQL Rises with JSON Support
MySQL Rises with JSON SupportMySQL Rises with JSON Support
MySQL Rises with JSON Support
 
Automotive industry ppt
Automotive industry pptAutomotive industry ppt
Automotive industry ppt
 
Json
JsonJson
Json
 
Automated Syntactic Mediation for Web Service Integration
Automated Syntactic Mediation for Web Service IntegrationAutomated Syntactic Mediation for Web Service Integration
Automated Syntactic Mediation for Web Service Integration
 
Modularizing RESTful Web Service Management with Aspect Oriented Programming
Modularizing RESTful Web Service Management with Aspect Oriented ProgrammingModularizing RESTful Web Service Management with Aspect Oriented Programming
Modularizing RESTful Web Service Management with Aspect Oriented Programming
 

Mehr von iosrjce

An Examination of Effectuation Dimension as Financing Practice of Small and M...
An Examination of Effectuation Dimension as Financing Practice of Small and M...An Examination of Effectuation Dimension as Financing Practice of Small and M...
An Examination of Effectuation Dimension as Financing Practice of Small and M...iosrjce
 
Does Goods and Services Tax (GST) Leads to Indian Economic Development?
Does Goods and Services Tax (GST) Leads to Indian Economic Development?Does Goods and Services Tax (GST) Leads to Indian Economic Development?
Does Goods and Services Tax (GST) Leads to Indian Economic Development?iosrjce
 
Childhood Factors that influence success in later life
Childhood Factors that influence success in later lifeChildhood Factors that influence success in later life
Childhood Factors that influence success in later lifeiosrjce
 
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...iosrjce
 
Customer’s Acceptance of Internet Banking in Dubai
Customer’s Acceptance of Internet Banking in DubaiCustomer’s Acceptance of Internet Banking in Dubai
Customer’s Acceptance of Internet Banking in Dubaiiosrjce
 
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...A Study of Employee Satisfaction relating to Job Security & Working Hours amo...
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...iosrjce
 
Consumer Perspectives on Brand Preference: A Choice Based Model Approach
Consumer Perspectives on Brand Preference: A Choice Based Model ApproachConsumer Perspectives on Brand Preference: A Choice Based Model Approach
Consumer Perspectives on Brand Preference: A Choice Based Model Approachiosrjce
 
Student`S Approach towards Social Network Sites
Student`S Approach towards Social Network SitesStudent`S Approach towards Social Network Sites
Student`S Approach towards Social Network Sitesiosrjce
 
Broadcast Management in Nigeria: The systems approach as an imperative
Broadcast Management in Nigeria: The systems approach as an imperativeBroadcast Management in Nigeria: The systems approach as an imperative
Broadcast Management in Nigeria: The systems approach as an imperativeiosrjce
 
A Study on Retailer’s Perception on Soya Products with Special Reference to T...
A Study on Retailer’s Perception on Soya Products with Special Reference to T...A Study on Retailer’s Perception on Soya Products with Special Reference to T...
A Study on Retailer’s Perception on Soya Products with Special Reference to T...iosrjce
 
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...iosrjce
 
Consumers’ Behaviour on Sony Xperia: A Case Study on Bangladesh
Consumers’ Behaviour on Sony Xperia: A Case Study on BangladeshConsumers’ Behaviour on Sony Xperia: A Case Study on Bangladesh
Consumers’ Behaviour on Sony Xperia: A Case Study on Bangladeshiosrjce
 
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...iosrjce
 
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...iosrjce
 
Media Innovations and its Impact on Brand awareness & Consideration
Media Innovations and its Impact on Brand awareness & ConsiderationMedia Innovations and its Impact on Brand awareness & Consideration
Media Innovations and its Impact on Brand awareness & Considerationiosrjce
 
Customer experience in supermarkets and hypermarkets – A comparative study
Customer experience in supermarkets and hypermarkets – A comparative studyCustomer experience in supermarkets and hypermarkets – A comparative study
Customer experience in supermarkets and hypermarkets – A comparative studyiosrjce
 
Social Media and Small Businesses: A Combinational Strategic Approach under t...
Social Media and Small Businesses: A Combinational Strategic Approach under t...Social Media and Small Businesses: A Combinational Strategic Approach under t...
Social Media and Small Businesses: A Combinational Strategic Approach under t...iosrjce
 
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...Secretarial Performance and the Gender Question (A Study of Selected Tertiary...
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...iosrjce
 
Implementation of Quality Management principles at Zimbabwe Open University (...
Implementation of Quality Management principles at Zimbabwe Open University (...Implementation of Quality Management principles at Zimbabwe Open University (...
Implementation of Quality Management principles at Zimbabwe Open University (...iosrjce
 
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...Organizational Conflicts Management In Selected Organizaions In Lagos State, ...
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...iosrjce
 

Mehr von iosrjce (20)

An Examination of Effectuation Dimension as Financing Practice of Small and M...
An Examination of Effectuation Dimension as Financing Practice of Small and M...An Examination of Effectuation Dimension as Financing Practice of Small and M...
An Examination of Effectuation Dimension as Financing Practice of Small and M...
 
Does Goods and Services Tax (GST) Leads to Indian Economic Development?
Does Goods and Services Tax (GST) Leads to Indian Economic Development?Does Goods and Services Tax (GST) Leads to Indian Economic Development?
Does Goods and Services Tax (GST) Leads to Indian Economic Development?
 
Childhood Factors that influence success in later life
Childhood Factors that influence success in later lifeChildhood Factors that influence success in later life
Childhood Factors that influence success in later life
 
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...
Emotional Intelligence and Work Performance Relationship: A Study on Sales Pe...
 
Customer’s Acceptance of Internet Banking in Dubai
Customer’s Acceptance of Internet Banking in DubaiCustomer’s Acceptance of Internet Banking in Dubai
Customer’s Acceptance of Internet Banking in Dubai
 
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...A Study of Employee Satisfaction relating to Job Security & Working Hours amo...
A Study of Employee Satisfaction relating to Job Security & Working Hours amo...
 
Consumer Perspectives on Brand Preference: A Choice Based Model Approach
Consumer Perspectives on Brand Preference: A Choice Based Model ApproachConsumer Perspectives on Brand Preference: A Choice Based Model Approach
Consumer Perspectives on Brand Preference: A Choice Based Model Approach
 
Student`S Approach towards Social Network Sites
Student`S Approach towards Social Network SitesStudent`S Approach towards Social Network Sites
Student`S Approach towards Social Network Sites
 
Broadcast Management in Nigeria: The systems approach as an imperative
Broadcast Management in Nigeria: The systems approach as an imperativeBroadcast Management in Nigeria: The systems approach as an imperative
Broadcast Management in Nigeria: The systems approach as an imperative
 
A Study on Retailer’s Perception on Soya Products with Special Reference to T...
A Study on Retailer’s Perception on Soya Products with Special Reference to T...A Study on Retailer’s Perception on Soya Products with Special Reference to T...
A Study on Retailer’s Perception on Soya Products with Special Reference to T...
 
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...
A Study Factors Influence on Organisation Citizenship Behaviour in Corporate ...
 
Consumers’ Behaviour on Sony Xperia: A Case Study on Bangladesh
Consumers’ Behaviour on Sony Xperia: A Case Study on BangladeshConsumers’ Behaviour on Sony Xperia: A Case Study on Bangladesh
Consumers’ Behaviour on Sony Xperia: A Case Study on Bangladesh
 
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...
Design of a Balanced Scorecard on Nonprofit Organizations (Study on Yayasan P...
 
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...
Public Sector Reforms and Outsourcing Services in Nigeria: An Empirical Evalu...
 
Media Innovations and its Impact on Brand awareness & Consideration
Media Innovations and its Impact on Brand awareness & ConsiderationMedia Innovations and its Impact on Brand awareness & Consideration
Media Innovations and its Impact on Brand awareness & Consideration
 
Customer experience in supermarkets and hypermarkets – A comparative study
Customer experience in supermarkets and hypermarkets – A comparative studyCustomer experience in supermarkets and hypermarkets – A comparative study
Customer experience in supermarkets and hypermarkets – A comparative study
 
Social Media and Small Businesses: A Combinational Strategic Approach under t...
Social Media and Small Businesses: A Combinational Strategic Approach under t...Social Media and Small Businesses: A Combinational Strategic Approach under t...
Social Media and Small Businesses: A Combinational Strategic Approach under t...
 
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...Secretarial Performance and the Gender Question (A Study of Selected Tertiary...
Secretarial Performance and the Gender Question (A Study of Selected Tertiary...
 
Implementation of Quality Management principles at Zimbabwe Open University (...
Implementation of Quality Management principles at Zimbabwe Open University (...Implementation of Quality Management principles at Zimbabwe Open University (...
Implementation of Quality Management principles at Zimbabwe Open University (...
 
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...Organizational Conflicts Management In Selected Organizaions In Lagos State, ...
Organizational Conflicts Management In Selected Organizaions In Lagos State, ...
 

Kürzlich hochgeladen

Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086anil_gaur
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxnuruddin69
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 

Kürzlich hochgeladen (20)

Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 

Q-JSON - Reduced JSON schema with high Data Representation Efficiency

  • 1. IOSR Journal of Computer Engineering (IOSR-JCE) e-ISSN: 2278-0661,p-ISSN: 2278-8727, Volume 17, Issue 6, Ver. V (Nov – Dec. 2015), PP 01-04 www.iosrjournals.org DOI: 10.9790/0661-17650104 www.iosrjournals.org 1 | Page Q-JSON - Reduced JSON schema with high Data Representation Efficiency Pratik Tyagi1 1 (Bangalore,India) Abstract: Mobility has already become the mainstream interface requirement for applications and the end users; this is forcing all applications/companies to adopt Web services [1] based architecture. But supporting mobility and the growing demand for better user experience comes with technical constraints such as memory space and lower data transfer rate. This paper proposes a new reduced JSON schema (Q-JSON) that improves data representation efficiency and thus improving on both constraints without any need of extra encoding/decoding. Proposed Q-JSON schema format normalizes the redundant data key information without compromising the actual business relevant information. Keywords: JSON Schema, Data representation efficiency, mobility, response delay, web services I. Introduction JSON [2] has achieved widespread adoption as the generic data representation format for fetching data from Web services due to its use as a JavaScript data structure and lightweight data representation over the legacy XML [3].However even with these advantages there are cases when generic schema of object representation using JSON can be further optimized to achieve better DRE(Data Representation Efficiency). Since data fetching operation owns major portion of user action response delay time, reducing the data transfer size in turn reduces the response delay. This paper proposes a reduced JSON (Q-JSON) schema that allows applications to send more business relevant information within the same data size. This paper documents the proposed Q-JSON schema structure and comparative case study between generic JSON schema and proposed Q-JSON schema. II. Observation Applications that present large homogeneous data list in one view to the user such as list of users available in the system, uses server side APIs in Web services to convert data to the generic JSON schema format, e.g. JAX-B [4] to convert java objects to JSON response. These APIs use generic format (1-1 mapping) to convert business data to JSON format i.e. representing a homogeneous list of object as shown in section 2.1. 2.1 Generic JSON representation: Homogenous Single Level List Two object representation with 4 attributes:- [ { AttributeName1 : AttributeValueA1, AttributeName2 : AttributeValueA2, AttributeName3 : AttributeValueA3, AttributeName4 : AttributeValueA4 }, { AttributeName1 : AttributeValueB1, AttributeName2 : AttributeValueB2, AttributeName3 : AttributeValueB3, AttributeName4 : AttributeValueB4 } ] This representation comes with major redundancy in form of repeated key information for each object; this information can be removed without compromising the actual business relevant information and thus improving the DRE in terms of data size.
  • 2. Q-JSON - Reduced JSON schema with high Data Representation Efficiency DOI: 10.9790/0661-17650104 www.iosrjournals.org 2 | Page III. Proposal: Q-JSON schema Q-JSON uses Array as its base data structure for representing the data. It normalizes the redundant data key information and representing them as a single array once and the individual object values in separate array, this representation provides two advantages: - a) Reduced data size b) Faster iteration due to use of Array data structure. Q-JSON Syntax: { AttributeDefinationList :[<Attr Definition>, <Attr Definition>,…], AttributeDataList :[[<Attr Val>, <Attr Val>,…][<Attr Val>, <Attr Val>,…]] } Q-JSON schema can be used for representing homogenous single level data list as well as for complex homogeneous hierarchical data structures. 3.1 Q-JSON representation: Homogenous single level List 2 object representation with 4 attributes:- { AttributeDefinationList: [AttributeName1, AttributeName2, AttributeName3, AttributeName4], AttributeDataList: [ [AttributeValueA1, AttributeValueA2, AttributeValueA3, AttributeValueA4], [AttributeValueB1, AttributeValueB2, AttributeValueB3, AttributeValueB4] ] } 3.2 Q-JSON representation: Homogenous multi-level structure Q-JSON schema can be extended to represent multilevel hierarchical data structure as shown below:- { AttributeDefinationList: [AttributeName1, AttributeName2, AttributeName3, Children], AttributeDataList: [ [AttributeValueA1, AttributeValueA2, AttributeValueA3, { AttributeDefinationList:[Sub-AttributeName1, Sub-AttributeName2], AttributeDataList:[[Sub-AttrValueA1, Sub-AttrValueA2], [Sub-AttrValueB1, Sub-AttrValueB2]] } ], [AttributeValueB1, AttributeValueB2, AttributeValueB3, { AttributeDefinationList:[Sub-AttributeName1, Sub-AttributeName2], AttributeDataList:[[Sub-AttrValueC1, Sub-AttrValueC2], [Sub-AttrValueD1, Sub-AttrValueD2]] } ] ] } IV. Comparative Case study This case study uses a Web Application/client that request Web services for list of users existing in the application. Below comparative cases take account of resultant data size based comparison b/w the Generic JSON schema and Q-JSON schema. 4.1 Comparative Case study 1: Sample Data Description Object Type : USER Sample object size : 1000, 5000, 15000 and 50000 Object Attribute Key to Value (chars) List:- 1. Name : 15 chars 2. Age : 2 chars 3. Gender : 4 chars
  • 3. Q-JSON - Reduced JSON schema with high Data Representation Efficiency DOI: 10.9790/0661-17650104 www.iosrjournals.org 3 | Page 4. Address : 100 Chars ∑ Attribute keys char length: ∑Attribute value char length Ratio = (4+3+6+7) / (15+2+4+100) = 20/121 = 0.16 Table1.Data Representation Result No. of Objects Generic JSON format Size(KB) Q-JSON format Size(KB) 1000 163 132 5000 811 655 15000 2432 1964 50000 8106 6544 Data size reduction = 19% approx. No. of objects: Generic JSON format data size = 6.1 (min) No of Objects represented in 2000KB = 2000*6.1 = 12200 No. of objects: Q-JSON format data size = 7.5 (min) No of Objects represented in 2000KB = 2000*7.5 = 15000 Increase in No. of objects represented using Q-JSON schema (Data size 2000KB) = 2800 or 23% 4.2 Comparative Case study 2 Sample Data Description Object Type : USER Sample object size : 1000, 5000, 15000 and 50000 Object Attribute Key to Value (chars) List:- 1. Name : 15 chars 2. Age : 2 chars 3. Gender : 4 chars 4. Address : 100 chars 5. Phone No. : 10 chars 6. Company : 23 chars 7. Designation : 17 chars 8. E-ID : 3 chars 9. Team Name : 10 chars ∑ Attribute keys char length: ∑Attribute value char length Ratio = (4+3+6+7+9+7+11+7+9) / (15+2+4+100+10+23+17+3+10) = 63/184 = 0.34 Table2.Data Representation Result No. of Objects Generic JSON format Size(KB) Q-JSON format Size(KB) 1000 296 208 5000 1475 1036 15000 4425 3106 50000 14747 10352 Data size reduction = 30% approx. No. of objects: Generic JSON format data size = 3.37 (min) No of Objects represented in 2000KB = 2000*3.37 = 6740 No. of objects: Q-JSON format data size = 4.80 (min) No of Objects represented in 2000KB = 2000*4.80 = 9600 Increase in No of Objects represented using Q-JSON schema (Data size 2000KB) = 2860 or 42% V. Conclusion Q-JSON drastically improves the DRE (Data Representation Efficiency) for linear/hierarchical homogenous data without any need of encoding. This Increase in DRE directly correlates to ratio of represented object’s attribute key char length to their value char length. Improving the DRE allow applications to transfer same business information in much lesser data size as compared to the generic JSON schema representation, thus in turn decreasing the user action response delay.
  • 4. Q-JSON - Reduced JSON schema with high Data Representation Efficiency DOI: 10.9790/0661-17650104 www.iosrjournals.org 4 | Page References [1] Leonard Richardson, Sam Ruby, RESTful Web Services, Web services for the real world(O'Reilly Media,2007) [2] JSON online: http://www.json.org/ - ECMA-262 (ISO/IEC 16262), ECMAScript® Language Specification, 3rd edition (December 1999) [3] Peter Aiken, M. David Allen, XML in Data Management (Elsevier,2004) [4] Java Architecture for XML Binding (JAXB), http://www.oracle.com/technetwork/articles/javase/index-140168.html