diff options
author | Jim Hahn <jrh3@att.com> | 2020-12-14 11:36:50 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-12-14 11:39:55 -0500 |
commit | e2756fa0a8054854dfaaac1c7fa064d207a0a4ae (patch) | |
tree | d0c6af9a360ee04cda225252b746be653cc6db2d /gson | |
parent | dd2aef555893e48ca8fcdc0cfb0a54538e49cfad (diff) |
Convert YAML Double to Integer/Long
When a YAML number is decoded directly to type Object.class using the
decode() or fromJson() methods of the StandardYamlCoder, the number is
left as a Double. It should be converted to an Integer or Long, where
possible.
Issue-ID: POLICY-2900
Change-Id: I7707ac5c54167cbc3a4b23985c6e5fa1a507324e
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'gson')
0 files changed, 0 insertions, 0 deletions