• <GetStart>
  • CSPro User's Guide
    • The CSPro System
    • Data Dictionary Module
    • The CSPro Language
    • Data Entry Module
    • Batch Editing Applications
    • Tabulation Applications
    • Data Sources
    • CSPro Statements and Functions
    • Templated Reporting System
    • HTML and JavaScript Integration
    • Action Invoker
    • Appendix
      • Appendix A - Installation
      • Appendix B - Keys Summary
      • Appendix C - Menu Summary
      • Appendix D - Toolbar Summary
      • Appendix E - Application Properties
      • Appendix F - Converting Within IMPS or ISSA
      • Appendix G - Errors in Censuses and Surveys
      • Appendix H - File Types
        • File Types
        • JSON Specification Files
        • SQLite Use in CSPro
        • Importing Data to CSPro Format
        • Locking Application Files
        • Temporary Data File
        • CSPro DB File Format
        • Files Description
      • Appendix I - JSON Representations
  • <CSEntry>
  • <CSBatch>
  • <CSTab>
  • <DataViewer>
  • <TextView>
  • <TblView>
  • <CSFreq>
  • <CSDeploy>
  • <CSPack>
  • <CSDiff>
  • <CSConcat>
  • <Excel2CSPro>
  • <CSExport>
  • <CSIndex>
  • <CSReFmt>
  • <CSSort>
  • <ParadataConcat>
  • <ParadataViewer>
  • <CSCode>
  • <CSDocument>
  • <CSView>
  • <CSWeb>

JSON Specification Files

Prior to CSPro 8.0, CSPro specification files were saved as INI files. Starting with CSPro 8.0, many files are now saved in JSON format. Although the general recommendation is that you should only modify files within the CSPro environment, having these files in JSON format allows advanced users to work with the values defined in a specification file when using other programming languages or when using other tools.
Compare the header of a dictionary file from CSPro 7.7 to the current JSON format:
CSPro 7.7 and earlier:
[Dictionary]
Version=CSPro 7.7
Label=Popstan Census
Name=CEN2020
CSPro 8.0+:
{
 
"software": "CSPro",
 
"version": 8.0,
 
"fileType": "dictionary",
 
"name": "CEN2020",
 
"labels": [ { "text": "Popstan Census" } ]
}
CSPro's JSON Specification Files
The following specification files are saved in JSON format:
File TypeExtension
Application.ent / .bch / .xtb
Application Properties.csprops
Compare Data specification.cmp
Deploy Application specification.csds
Dictionary.dcf
Excel to CSPro specification.xl2cs
Export Data specification.exf
Pack Application specification.cspack
Saved Arrays.sva
Sort Data specification.ssf
Tabulate Frequencies specification.fqf
See also: File Types