Skip to content

Conversation

mblsha
Copy link

@mblsha mblsha commented Jul 13, 2025

Changed _io, _parent, and _root properties to be non-enumerable using Object.defineProperty. This prevents these internal properties from appearing in JSON.stringify() output or for...in loops, making Kaitai objects more suitable for JSON serialization and API usage.

Changed _io, _parent, and _root properties to be non-enumerable using
Object.defineProperty. This prevents these internal properties from
appearing in JSON.stringify() output or for...in loops, making Kaitai
objects more suitable for JSON serialization and API usage.
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