Thunder Suite   •  JSON Thunder   •  XML Thunder   •  FAQs   •  Tutorials   •  Wiki   •  Levelset History  •  JSON Thunder Technical Details  •  XML Thunder Technical Details

JSON Thunder Technical Details

 


  Supported
COBOL
JSON Reader Implementation JSON Writer Implementation
Data Types
array defined as COBOL structure with OCCURS clause  defined as COBOL structure with OCCURS clause
boolean defined as COBOL PIC X(5) with 88 levels for "1", "0", "true" and "false".
 defined as COBOL PIC X(5) with 88 levels for "1", "0", "true" and "false".
integer defined as COBOL PIC 9 with size determined by schema properties or toolset default. 
defined as COBOL PIC 9 with size determined by schema properties or toolset default. 
number defined as COBOL PIC 9 or PIC 9(?)V9(?) with integer and decimal size determined by schema properties or toolset defaults. 
defined as COBOL PIC 9 or PIC 9(?)V9(?) with integer and decimal size determined by schema properties or toolset defaults. 
null    
object defined as COBOL parent structure.   defined as COBOL parent structure.
string defined as COBOL PIC X with size determined by schema properties or toolset default.
defined as COBOL PIC X with size determined by schema properties or toolset default.
       
Validation
allOf    
anyOf    
enum enums defined as COBOL 88 levels.  Generated program logic to validate values received. 
enums defined as COBOL 88 levels.  Generated program logic to validate values inserted into message. 
maxItems Generated program logic to validate number of nodes received
Generated program logic to validate number of nodes inserted into message. 
maxLength Generated program logic to validate max length received.  Generated program logic to build valid max length. 
maximum and exclusiveMaximum Generated program logic to validate maximum value received.
Generated program logic to ensure valid maximum values. 
minimum and exclusiveMinimum  Generated program logic to validate minimum value received.  Generated program logic to ensure valid minimum values.
minLength Generated program logic to validate min length received.  Generated program logic to build valid min length.
oneOf Generated program logic to detect and validate choice.  Generated program logic enforces one valid choice.
required Generated program logic enforces required objects and properties.  Generated program logic enforces required objects and properties.