Skip to content
Commit 771cfa0f authored by Jason M. Bills's avatar Jason M. Bills Committed by Ed Tanous
Browse files

Add automatic range-checking and type-casting for readJson



This change allows numerical types to be passed to readJson
with the desired type.  They will then be automatically
range-checked and cast to that type.

Tested: Requested variables of type uint64_t, uint8_t, int,
int16_t, and int8_t and confirmed that the range was correctly
checked for each.

Change-Id: Ia55cb03ba2c4321a7de35a7c7b566980a72c5449
Signed-off-by: default avatarJason M. Bills <jason.m.bills@linux.intel.com>
parent c4bf6374
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment