Skip to content

Conversation

@yutaro-sakamoto
Copy link
Contributor

This pull request changes the schema of json files generated by a new option -info-json-dir. (See #362)
The following is an example.

callee.cbl

       IDENTIFICATION   DIVISION.
       PROGRAM-ID.      callee.
       DATA             DIVISION.
       WORKING-STORAGE  SECTION.
       LINKAGE          SECTION.
       01 P1            PIC X ANY LENGTH.
       01 P2            PIC 99.
       PROCEDURE        DIVISION USING P1 P2.
           GOBACK.

the JSON file

{
  "opensourcecobol4j_version": "1.0.20",
  "program_id": "callee",
  "procedure_division_using_parameters": [
    {
      "variable_name": "P1",
      "java_type": "String"
    },
    {
      "variable_name": "P2",
      "type": "int"
    }
  ]
}

@yutaro-sakamoto yutaro-sakamoto merged commit d75ae34 into opensourcecobol:develop Mar 28, 2024
@yutaro-sakamoto yutaro-sakamoto deleted the fix/info-json-dir branch March 28, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant