Skip to content

Fix handling of RECORD objects with variable subobjects - #83

Merged
sveinse merged 2 commits into
mainfrom
fix-object-type-issues
Aug 20, 2026
Merged

Fix handling of RECORD objects with variable subobjects#83
sveinse merged 2 commits into
mainfrom
fix-object-type-issues

Conversation

@sveinse

@sveinse sveinse commented Aug 19, 2026

Copy link
Copy Markdown
Member

Fix issue of having RECORD objects with variable length that caused the JSON read and write to crash.

Add a new parameter "start_index" in the "each" section of the json file format. When not present it will default to 1.

Fixes #82

* Add"start_index" argument in "each" in jsonc format that informs the position of the shared sub objects

@chrisinabox chrisinabox left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a somewhat reasonable change to allow flexible use of the existing each objects. Curious if the lint.ignore flags will ever actually be fixed though.

@sveinse

sveinse commented Aug 20, 2026

Copy link
Copy Markdown
Member Author

Thanks. -- I have no immediate plans to fix the lint errors. The code is unchanged thou, its just the linter which has become more narrow (which is a good thing). If someone gets inspired to fix them, they are open to do so.

@sveinse
sveinse merged commit ec97b4b into main Aug 20, 2026
8 checks passed
@sveinse
sveinse deleted the fix-object-type-issues branch August 20, 2026 06:38
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.

Adding 0x1010 object crash export to jsonc

2 participants