Commit Graph

4 Commits

Author SHA1 Message Date
81348b1f28 Improve ZON parser tuple handling with configurable empty tuple parsing
- Add `empty_tuple_as_dict` parameter to control parsing of empty tuples
- Enhance tuple and object parsing logic to handle nested and complex structures
- Update test cases to cover various tuple and empty tuple scenarios
- Modify `parse_zon_file` and `zon_to_json` functions to support new parsing option
2025-03-07 17:11:57 +08:00
fd29f7e3af Enhance ZON parser to support tuples and update documentation
- Modify parser to handle ZON tuples (`.{ 1, 2, 3 }`) as arrays
- Update README with more detailed explanation of ZON tuple syntax
- Add multiple example ZON files demonstrating tuple usage
- Implement tuple parsing in `parser.py`
- Add test case for tuple parsing
2025-03-07 17:01:12 +08:00
807fcb2849 init 2025-03-07 16:42:22 +08:00
3404b6b7e0 init 2025-03-07 16:32:15 +08:00