The JSON structure was storing row counts as strings; this converts it to ints.
In other words, it converts the record structure from [string, string] to [string, integer], so that we can compute over the row counts later if we need to.
Note that if the Atoi fails, we will store -1 as the row count.
The JSON structure was storing row counts as strings; this converts it to
int
s.In other words, it converts the record structure from
[string, string]
to[string, integer]
, so that we can compute over the row counts later if we need to.Note that if the
Atoi
fails, we will store -1 as the row count.