nim-json-serialization/json_serialization
Jacek Sieka 6eadb6e939
check length before converting to range type (#102)
The index type of an array is a `range` meaning that converting an
out-of-bounds value to it will raise a `Defect`.

This PR fixes the defect but does nothing for arrays which are not
"full" - probably, this should become an error.

* bump version
2024-10-19 11:28:17 +02:00
..
std Fix missing std/strutils import for parseEnum 2024-01-27 16:32:14 +07:00
stew Fix import stew/results to pkg/results (#101) 2024-10-15 18:24:47 +07:00
format.nim Add compile time switch to alter encoder enum representation (#95) 2024-07-27 07:27:11 +07:00
lexer.nim Workaround Nim regression #23611 related to dirty template (#90) 2024-05-20 22:12:03 +07:00
parser.nim Resilience against null fields (#78) 2024-01-17 13:39:29 +07:00
reader.nim Improve lexer flexibility 2023-12-26 16:03:46 +07:00
reader_desc.nim fix stylecheck for BiggestUInt (#99) 2024-10-10 12:26:09 +00:00
reader_impl.nim check length before converting to range type (#102) 2024-10-19 11:28:17 +02:00
types.nim Fix JsonValueRef.Object comparison 2024-02-29 13:58:51 +07:00
value_ops.nim Add JsonValueRef compare operation (#89) 2024-03-20 21:32:43 +07:00
writer.nim allow serializing distinct arrays (#97) 2024-09-26 16:19:22 +02:00