diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-05-08 11:53:14 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-05-08 11:53:14 +0200 |
commit | 5c258209dc3f0c175d6338a3c658d7a8e01aedc0 (patch) | |
tree | ebdc76a19144b0eb5c44728a587ef3cae5822be9 /src/main.rs | |
parent | d1fdebb68c2818b224b092d4c265394f3fbdcb5d (diff) | |
download | phisher-5c258209dc3f0c175d6338a3c658d7a8e01aedc0.tar.gz phisher-5c258209dc3f0c175d6338a3c658d7a8e01aedc0.tar.bz2 phisher-5c258209dc3f0c175d6338a3c658d7a8e01aedc0.zip |
Help deserializer turn numbers and bools into their proper types.
The PhishTank dataset encodes the numeric `phish_id` as a string,
and boolean values as "yes" or "no". The default json deserializer
from serde isn't able to deserialize these values into their proper
types, so we have to helo it a bit.
Diffstat (limited to 'src/main.rs')
0 files changed, 0 insertions, 0 deletions