Open stevenroose opened 8 years ago
This is not working as T
in JsonxCodec
is now dynamic
rather than null
. I'll change the top level decode
to check if type is null
or dynamic
.
P/S: Following the new coding guidelines, constants should be lowercase.
In fact after this change the global
encode()
anddecode()
methods should be made private as well. They can be replaced withJSONX.encode()
andJSONX.decode()
.