Skip to content

An utility for creating a Clarion data structure corresponding to the json structure.

License

Notifications You must be signed in to change notification settings

mikeduglas/cJSON_Mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cJSON_Mapper

An utility for creating a Clarion data structure corresponding to the json structure.

image

Usage

Drop json file on to the left pane, or select a file via file dialog, or just paste json text. The generated Clarion code will appears on the right pane immediately which you can save as a CLW file or copy into clipboard.
There are some options to handle resulting output:

  • "External names" adds a NAME attribute to the fields declaration.
  • "Comments" adds a comment to the fields declaration.
  • "Rounding up" rounds string sizes up to the next power of 2.
  • "Generate program" generates complete program file instead of pure struct declaration statement.

Contacts

Version history

v1.02 (25.12.2024)

  • FIX: Opening curly braces in generated code weren't duplicated.

v1.01 (04.11.2024)

  • NEW: Multi-type items supported.

v1.0 (26.10.2024)

  • Initial release

About

An utility for creating a Clarion data structure corresponding to the json structure.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published