When JSON.stringify()
function be called about Map<Key, T>
type, it always returns the empty bracket value {}
. Until now, I'd developed typia
to return the empty bracket value {}
, following the standard JSON.stringify()
function.
However, as most TypeScript/JavaScript developers do not know about that and there's not any problem when using the Map
type on typia.json.stringify<T>()
function ini the compile time, it was possible to misunderstand that typia
's stringify function has a bug about the Map
time.
In such reason, I've decided to throw a compile error when such non-supported type being used in the typia.json
functions. Also, such strategy would be helpful for typia
users to avoid taking a mistake using such non-supported type on the JSON functions.
What's Changed
- Fix #842 - exact description comment tracing. by @samchon in #843
- Close #823 - ban Map types on JSON functions. by @samchon in #844
Full Changelog: v5.2.1...v5.2.2