-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for .jsonc in GUI * Accept either json or jsonc input * Generate pure json output when json is selected
- Loading branch information
Showing
10 changed files
with
124 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ _tmp* | |
tests/od/extra-compare* | ||
/*.od | ||
/*.json | ||
/*.jsonc | ||
|
||
objdictgen.* | ||
fw-can-shared | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"$id": "od data", | ||
"$version": "1", | ||
"$description": "Canfestival object dictionary data", | ||
"$tool": "odg 3.5", | ||
"$date": "2024-08-13T11:36:24.609168", | ||
"name": "JSON comments", | ||
"description": "Test for JSON comments", | ||
"type": "slave", | ||
"id": 0, | ||
"profile": "None", | ||
"default_string_size": 24, | ||
"dictionary": [ | ||
{ | ||
"index": "0x1003", // 4099 | ||
"name": "Pre-defined Error Field", | ||
"struct": "array", | ||
"group": "built-in", | ||
"mandatory": false, | ||
"profile_callback": true, | ||
"each": { | ||
"name": "Standard Error Field", | ||
"type": "UNSIGNED32", // 7 | ||
"access": "ro", | ||
"pdo": false, | ||
"nbmin": 1, | ||
"nbmax": 254 | ||
}, | ||
"sub": [ | ||
{ | ||
"name": "Number of Errors", | ||
"type": "UNSIGNED8", // 5 | ||
"access": "rw", | ||
"pdo": false | ||
}, | ||
{ | ||
// "name": "Standard Error Field" | ||
// "type": "UNSIGNED32" // 7 | ||
"value": 0 | ||
}, | ||
{ | ||
// "name": "Standard Error Field" | ||
// "type": "UNSIGNED32" // 7 | ||
"value": 0 | ||
}, | ||
{ | ||
// "name": "Standard Error Field" | ||
// "type": "UNSIGNED32" // 7 | ||
"value": 0 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters