Operating System
Windows
What's the issue you encountered?
When using hex::type::Json type on json string with null values some json fields are ignored or fields contains values from other fields.
How can the issue be reproduced?
Parsed file:
{ "aaa": "str", "bbb": null, "ccc": 5 }
Pattern:
#include <hex/type/json.pat>
hex::type::Json<sizeof($)> json @ 0x00;
Using these, you can see in Pattern Data there is missing aaa field and bbb field has value of "str".
Also if first value (alphabeticaly) has value of null in json it will crash ImHex editor. Can be achieved by switching names of aaa/bbb in example.
20260302_222630.log
ImHex Version
1.38.1
ImHex Build Type
Installation type
Portable
Additional context?
No response
Operating System
Windows
What's the issue you encountered?
When using
hex::type::Jsontype on json string withnullvalues some json fields are ignored or fields contains values from other fields.How can the issue be reproduced?
Parsed file:
{ "aaa": "str", "bbb": null, "ccc": 5 }Pattern:
Using these, you can see in
Pattern Datathere is missingaaafield andbbbfield has value of"str".Also if first value (alphabeticaly) has value of
nullin json it will crash ImHex editor. Can be achieved by switching names ofaaa/bbbin example.20260302_222630.log
ImHex Version
1.38.1
ImHex Build Type
Installation type
Portable
Additional context?
No response